Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/Element",
"version" : "4.0.0",
"name" : "Element",
"status" : "active",
"date" : "2018-12-27T22:37:54+11:00",
"publisher" : "HL7 FHIR Standard",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
}]
}],
"description" : "Base StructureDefinition for Element Type: Base definition for all elements in a resource.",
"fhirVersion" : "4.0.0",
"mapping" : [{
"identity" : "rim",
"uri" : "http://hl7.org/v3",
"name" : "RIM Mapping"
}],
"kind" : "complex-type",
"abstract" : true,
"type" : "Element",
"snapshot" : {
"element" : [{
"id" : "Element",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"path" : "Element",
"short" : "Base for all elements",
"definition" : "Base definition for all elements in a resource.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element",
"min" : 0,
"max" : "*"
},
"condition" : ["ele-1"],
"constraint" : [{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() or (children().count() > id.count())",
"xpath" : "@value|f:*|h:div"
}],
"isModifier" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "Element.id",
"path" : "Element.id",
"representation" : ["xmlAttr"],
"short" : "Unique id for inter-element referencing",
"definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"_code" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type",
"valueString" : "string"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type",
"valueString" : "xsd:string"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type",
"valueString" : "xsd:string"
}]
}
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "Element.extension",
"path" : "Element.extension",
"slicing" : {
"discriminator" : [{
"type" : "value",
"path" : "url"
}],
"description" : "Extensions are always sliced by (at least) url",
"rules" : "open"
},
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
}]
},
"differential" : {
"element" : [{
"id" : "Element",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"path" : "Element",
"short" : "Base for all elements",
"definition" : "Base definition for all elements in a resource.",
"min" : 0,
"max" : "*",
"condition" : ["ele-1"],
"constraint" : [{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() or (children().count() > id.count())",
"xpath" : "@value|f:*|h:div"
}],
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "Element.id",
"path" : "Element.id",
"representation" : ["xmlAttr"],
"short" : "Unique id for inter-element referencing",
"definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min" : 0,
"max" : "1",
"type" : [{
"_code" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type",
"valueString" : "string"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type",
"valueString" : "xsd:string"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type",
"valueString" : "xsd:string"
}]
}
}],
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "Element.extension",
"path" : "Element.extension",
"slicing" : {
"discriminator" : [{
"type" : "value",
"path" : "url"
}],
"description" : "Extensions are always sliced by (at least) url",
"rules" : "open"
},
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"type" : [{
"code" : "Extension"
}],
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
}]
}
}
},
{
"fullUrl" : "http://hl7.org/fhir/StructureDefinition/BackboneElement",
"resource" : {
"resourceType" : "StructureDefinition",
"id" : "BackboneElement",
"meta" : {
"lastUpdated" : "2018-12-27T22:37:54.724+11:00"
},
"text" : {
"status" : "generated",
"div" : "
"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/BackboneElement",
"version" : "4.0.0",
"name" : "BackboneElement",
"status" : "active",
"date" : "2018-12-27T22:37:54+11:00",
"publisher" : "HL7 FHIR Standard",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
}]
}],
"description" : "Base StructureDefinition for BackboneElement Type: Base definition for all elements that are defined inside a resource - but not those in a data type.",
"fhirVersion" : "4.0.0",
"mapping" : [{
"identity" : "rim",
"uri" : "http://hl7.org/v3",
"name" : "RIM Mapping"
}],
"kind" : "complex-type",
"abstract" : true,
"type" : "BackboneElement",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Element",
"derivation" : "specialization",
"snapshot" : {
"element" : [{
"id" : "BackboneElement",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"path" : "BackboneElement",
"short" : "Base for elements defined inside a resource",
"definition" : "Base definition for all elements that are defined inside a resource - but not those in a data type.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "BackboneElement",
"min" : 0,
"max" : "*"
},
"condition" : ["ele-1"],
"constraint" : [{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() or (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "Element"
}],
"isModifier" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "BackboneElement.id",
"path" : "BackboneElement.id",
"representation" : ["xmlAttr"],
"short" : "Unique id for inter-element referencing",
"definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "BackboneElement.extension",
"path" : "BackboneElement.extension",
"slicing" : {
"discriminator" : [{
"type" : "value",
"path" : "url"
}],
"description" : "Extensions are always sliced by (at least) url",
"rules" : "open"
},
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "BackboneElement.modifierExtension",
"path" : "BackboneElement.modifierExtension",
"short" : "Extensions that cannot be ignored even if unrecognized",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).",
"alias" : ["extensions",
"user content",
"modifiers"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "BackboneElement.modifierExtension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : true,
"isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A"
}]
}]
},
"differential" : {
"element" : [{
"id" : "BackboneElement",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"path" : "BackboneElement",
"short" : "Base for elements defined inside a resource",
"definition" : "Base definition for all elements that are defined inside a resource - but not those in a data type.",
"min" : 0,
"max" : "*",
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "BackboneElement.modifierExtension",
"path" : "BackboneElement.modifierExtension",
"short" : "Extensions that cannot be ignored even if unrecognized",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).",
"alias" : ["extensions",
"user content",
"modifiers"],
"min" : 0,
"max" : "*",
"type" : [{
"code" : "Extension"
}],
"isModifier" : true,
"isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A"
}]
}]
}
}
},
{
"fullUrl" : "http://hl7.org/fhir/StructureDefinition/base64Binary",
"resource" : {
"resourceType" : "StructureDefinition",
"id" : "base64Binary",
"meta" : {
"lastUpdated" : "2018-12-27T22:37:54.724+11:00"
},
"text" : {
"status" : "generated",
"div" : "
to do
"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/base64Binary",
"version" : "4.0.0",
"name" : "base64Binary",
"status" : "active",
"date" : "2018-12-27T22:37:54+11:00",
"publisher" : "HL7 FHIR Standard",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
}]
}],
"description" : "Base StructureDefinition for base64Binary Type: A stream of bytes",
"fhirVersion" : "4.0.0",
"kind" : "primitive-type",
"abstract" : false,
"type" : "base64Binary",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Element",
"derivation" : "specialization",
"snapshot" : {
"element" : [{
"id" : "base64Binary",
"path" : "base64Binary",
"short" : "Primitive Type base64Binary",
"definition" : "A stream of bytes",
"comment" : "A stream of bytes, base64 encoded",
"min" : 0,
"max" : "*",
"base" : {
"path" : "base64Binary",
"min" : 0,
"max" : "*"
},
"constraint" : [{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() or (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "Element"
}],
"isModifier" : false,
"isSummary" : false
},
{
"id" : "base64Binary.id",
"path" : "base64Binary.id",
"representation" : ["xmlAttr"],
"short" : "xml:id (or equivalent in JSON)",
"definition" : "unique id for the element within a resource (for internal references)",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false
},
{
"id" : "base64Binary.extension",
"path" : "base64Binary.extension",
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false
},
{
"id" : "base64Binary.value",
"path" : "base64Binary.value",
"representation" : ["xmlAttr"],
"short" : "Primitive value for base64Binary",
"definition" : "The actual value",
"min" : 0,
"max" : "1",
"base" : {
"path" : "base64Binary.value",
"min" : 0,
"max" : "1"
},
"type" : [{
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/regex",
"valueString" : "(\\s*([0-9a-zA-Z\\+/=]){4}\\s*)+"
}],
"_code" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type",
"valueString" : "string"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type",
"valueString" : "xsd:base64Binary"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type",
"valueString" : "xsd:base64Binary"
}]
}
}],
"isModifier" : false,
"isSummary" : false
}]
},
"differential" : {
"element" : [{
"id" : "base64Binary",
"path" : "base64Binary",
"short" : "Primitive Type base64Binary",
"definition" : "A stream of bytes",
"comment" : "A stream of bytes, base64 encoded",
"min" : 0,
"max" : "*"
},
{
"id" : "base64Binary.value",
"path" : "base64Binary.value",
"representation" : ["xmlAttr"],
"short" : "Primitive value for base64Binary",
"definition" : "Primitive value for base64Binary",
"min" : 0,
"max" : "1",
"type" : [{
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/regex",
"valueString" : "(\\s*([0-9a-zA-Z\\+/=]){4}\\s*)+"
}],
"_code" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type",
"valueString" : "string"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type",
"valueString" : "xsd:base64Binary"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type",
"valueString" : "xsd:base64Binary"
}]
}
}]
}]
}
}
},
{
"fullUrl" : "http://hl7.org/fhir/StructureDefinition/boolean",
"resource" : {
"resourceType" : "StructureDefinition",
"id" : "boolean",
"meta" : {
"lastUpdated" : "2018-12-27T22:37:54.724+11:00"
},
"text" : {
"status" : "generated",
"div" : "
to do
"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/boolean",
"version" : "4.0.0",
"name" : "boolean",
"status" : "active",
"date" : "2018-12-27T22:37:54+11:00",
"publisher" : "HL7 FHIR Standard",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
}]
}],
"description" : "Base StructureDefinition for boolean Type: Value of \"true\" or \"false\"",
"fhirVersion" : "4.0.0",
"kind" : "primitive-type",
"abstract" : false,
"type" : "boolean",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Element",
"derivation" : "specialization",
"snapshot" : {
"element" : [{
"id" : "boolean",
"path" : "boolean",
"short" : "Primitive Type boolean",
"definition" : "Value of \"true\" or \"false\"",
"min" : 0,
"max" : "*",
"base" : {
"path" : "boolean",
"min" : 0,
"max" : "*"
},
"constraint" : [{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() or (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "Element"
}],
"isModifier" : false,
"isSummary" : false
},
{
"id" : "boolean.id",
"path" : "boolean.id",
"representation" : ["xmlAttr"],
"short" : "xml:id (or equivalent in JSON)",
"definition" : "unique id for the element within a resource (for internal references)",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false
},
{
"id" : "boolean.extension",
"path" : "boolean.extension",
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false
},
{
"id" : "boolean.value",
"path" : "boolean.value",
"representation" : ["xmlAttr"],
"short" : "Primitive value for boolean",
"definition" : "The actual value",
"min" : 0,
"max" : "1",
"base" : {
"path" : "boolean.value",
"min" : 0,
"max" : "1"
},
"type" : [{
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/regex",
"valueString" : "true|false"
}],
"_code" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type",
"valueString" : "boolean"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type",
"valueString" : "xsd:boolean"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type",
"valueString" : "xsd:boolean"
}]
}
}],
"isModifier" : false,
"isSummary" : false
}]
},
"differential" : {
"element" : [{
"id" : "boolean",
"path" : "boolean",
"short" : "Primitive Type boolean",
"definition" : "Value of \"true\" or \"false\"",
"min" : 0,
"max" : "*"
},
{
"id" : "boolean.value",
"path" : "boolean.value",
"representation" : ["xmlAttr"],
"short" : "Primitive value for boolean",
"definition" : "Primitive value for boolean",
"min" : 0,
"max" : "1",
"type" : [{
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/regex",
"valueString" : "true|false"
}],
"_code" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type",
"valueString" : "boolean"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type",
"valueString" : "xsd:boolean"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type",
"valueString" : "xsd:boolean"
}]
}
}]
}]
}
}
},
{
"fullUrl" : "http://hl7.org/fhir/StructureDefinition/canonical",
"resource" : {
"resourceType" : "StructureDefinition",
"id" : "canonical",
"meta" : {
"lastUpdated" : "2018-12-27T22:37:54.724+11:00"
},
"text" : {
"status" : "generated",
"div" : "
to do
"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/canonical",
"version" : "4.0.0",
"name" : "canonical",
"status" : "active",
"date" : "2018-12-27T22:37:54+11:00",
"publisher" : "HL7 FHIR Standard",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
}]
}],
"description" : "Base StructureDefinition for canonical type: A URI that is a reference to a canonical URL on a FHIR resource",
"fhirVersion" : "4.0.0",
"kind" : "primitive-type",
"abstract" : false,
"type" : "canonical",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/uri",
"derivation" : "specialization",
"snapshot" : {
"element" : [{
"id" : "canonical",
"path" : "canonical",
"short" : "Primitive Type canonical",
"definition" : "A URI that is a reference to a canonical URL on a FHIR resource",
"comment" : "see [Canonical References](references.html#canonical)",
"min" : 0,
"max" : "*",
"base" : {
"path" : "canonical",
"min" : 0,
"max" : "*"
},
"constraint" : [{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() or (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "Element"
}],
"isModifier" : false,
"isSummary" : false
},
{
"id" : "canonical.id",
"path" : "canonical.id",
"representation" : ["xmlAttr"],
"short" : "xml:id (or equivalent in JSON)",
"definition" : "unique id for the element within a resource (for internal references)",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false
},
{
"id" : "canonical.extension",
"path" : "canonical.extension",
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false
},
{
"id" : "canonical.value",
"path" : "canonical.value",
"representation" : ["xmlAttr"],
"short" : "Primitive value for canonical",
"definition" : "Primitive value for canonical",
"min" : 0,
"max" : "1",
"base" : {
"path" : "uri.value",
"min" : 0,
"max" : "1"
},
"type" : [{
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/regex",
"valueString" : "\\S*"
}],
"_code" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type",
"valueString" : "string"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type",
"valueString" : "xsd:anyURI"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type",
"valueString" : "xsd:string"
}]
}
}],
"isModifier" : false,
"isSummary" : false
}]
},
"differential" : {
"element" : [{
"id" : "canonical",
"path" : "canonical",
"short" : "Primitive Type canonical",
"definition" : "A URI that is a reference to a canonical URL on a FHIR resource",
"comment" : "see [Canonical References](references.html#canonical)",
"min" : 0,
"max" : "*"
},
{
"id" : "canonical.value",
"path" : "canonical.value",
"representation" : ["xmlAttr"],
"short" : "Primitive value for canonical",
"definition" : "Primitive value for canonical",
"min" : 0,
"max" : "1",
"type" : [{
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/regex",
"valueString" : "\\S*"
}],
"_code" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type",
"valueString" : "string"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type",
"valueString" : "xsd:anyURI"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type",
"valueString" : "xsd:string"
}]
}
}]
}]
}
}
},
{
"fullUrl" : "http://hl7.org/fhir/StructureDefinition/code",
"resource" : {
"resourceType" : "StructureDefinition",
"id" : "code",
"meta" : {
"lastUpdated" : "2018-12-27T22:37:54.724+11:00"
},
"text" : {
"status" : "generated",
"div" : "
to do
"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/code",
"version" : "4.0.0",
"name" : "code",
"status" : "active",
"date" : "2018-12-27T22:37:54+11:00",
"publisher" : "HL7 FHIR Standard",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
}]
}],
"description" : "Base StructureDefinition for code type: A string which has at least one character and no leading or trailing whitespace and where there is no whitespace other than single spaces in the contents",
"fhirVersion" : "4.0.0",
"kind" : "primitive-type",
"abstract" : false,
"type" : "code",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/string",
"derivation" : "specialization",
"snapshot" : {
"element" : [{
"id" : "code",
"path" : "code",
"short" : "Primitive Type code",
"definition" : "A string which has at least one character and no leading or trailing whitespace and where there is no whitespace other than single spaces in the contents",
"min" : 0,
"max" : "*",
"base" : {
"path" : "code",
"min" : 0,
"max" : "*"
},
"constraint" : [{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() or (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "Element"
}],
"isModifier" : false,
"isSummary" : false
},
{
"id" : "code.id",
"path" : "code.id",
"representation" : ["xmlAttr"],
"short" : "xml:id (or equivalent in JSON)",
"definition" : "unique id for the element within a resource (for internal references)",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false
},
{
"id" : "code.extension",
"path" : "code.extension",
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false
},
{
"id" : "code.value",
"path" : "code.value",
"representation" : ["xmlAttr"],
"short" : "Primitive value for code",
"definition" : "Primitive value for code",
"min" : 0,
"max" : "1",
"base" : {
"path" : "string.value",
"min" : 0,
"max" : "1"
},
"type" : [{
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/regex",
"valueString" : "[^\\s]+(\\s[^\\s]+)*"
}],
"_code" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type",
"valueString" : "string"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type",
"valueString" : "xsd:token"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type",
"valueString" : "xsd:token"
}]
}
}],
"isModifier" : false,
"isSummary" : false
}]
},
"differential" : {
"element" : [{
"id" : "code",
"path" : "code",
"short" : "Primitive Type code",
"definition" : "A string which has at least one character and no leading or trailing whitespace and where there is no whitespace other than single spaces in the contents",
"min" : 0,
"max" : "*"
},
{
"id" : "code.value",
"path" : "code.value",
"representation" : ["xmlAttr"],
"short" : "Primitive value for code",
"definition" : "Primitive value for code",
"min" : 0,
"max" : "1",
"type" : [{
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/regex",
"valueString" : "[^\\s]+(\\s[^\\s]+)*"
}],
"_code" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type",
"valueString" : "string"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type",
"valueString" : "xsd:token"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type",
"valueString" : "xsd:token"
}]
}
}]
}]
}
}
},
{
"fullUrl" : "http://hl7.org/fhir/StructureDefinition/date",
"resource" : {
"resourceType" : "StructureDefinition",
"id" : "date",
"meta" : {
"lastUpdated" : "2018-12-27T22:37:54.724+11:00"
},
"text" : {
"status" : "generated",
"div" : "
to do
"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/date",
"version" : "4.0.0",
"name" : "date",
"status" : "active",
"date" : "2018-12-27T22:37:54+11:00",
"publisher" : "HL7 FHIR Standard",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
}]
}],
"description" : "Base StructureDefinition for date Type: A date or partial date (e.g. just year or year + month). There is no time zone. The format is a union of the schema types gYear, gYearMonth and date. Dates SHALL be valid dates.",
"fhirVersion" : "4.0.0",
"kind" : "primitive-type",
"abstract" : false,
"type" : "date",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Element",
"derivation" : "specialization",
"snapshot" : {
"element" : [{
"id" : "date",
"path" : "date",
"short" : "Primitive Type date",
"definition" : "A date or partial date (e.g. just year or year + month). There is no time zone. The format is a union of the schema types gYear, gYearMonth and date. Dates SHALL be valid dates.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "date",
"min" : 0,
"max" : "*"
},
"constraint" : [{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() or (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "Element"
}],
"isModifier" : false,
"isSummary" : false
},
{
"id" : "date.id",
"path" : "date.id",
"representation" : ["xmlAttr"],
"short" : "xml:id (or equivalent in JSON)",
"definition" : "unique id for the element within a resource (for internal references)",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false
},
{
"id" : "date.extension",
"path" : "date.extension",
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false
},
{
"id" : "date.value",
"path" : "date.value",
"representation" : ["xmlAttr"],
"short" : "Primitive value for date",
"definition" : "The actual value",
"min" : 0,
"max" : "1",
"base" : {
"path" : "date.value",
"min" : 0,
"max" : "1"
},
"type" : [{
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/regex",
"valueString" : "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1]))?)?"
}],
"_code" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type",
"valueString" : "string"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type",
"valueString" : "xsd:gYear OR xsd:gYearMonth OR xsd:date"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type",
"valueString" : "xsd:gYear OR xsd:gYearMonth OR xsd:date"
}]
}
}],
"isModifier" : false,
"isSummary" : false
}]
},
"differential" : {
"element" : [{
"id" : "date",
"path" : "date",
"short" : "Primitive Type date",
"definition" : "A date or partial date (e.g. just year or year + month). There is no time zone. The format is a union of the schema types gYear, gYearMonth and date. Dates SHALL be valid dates.",
"min" : 0,
"max" : "*"
},
{
"id" : "date.value",
"path" : "date.value",
"representation" : ["xmlAttr"],
"short" : "Primitive value for date",
"definition" : "Primitive value for date",
"min" : 0,
"max" : "1",
"type" : [{
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/regex",
"valueString" : "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1]))?)?"
}],
"_code" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type",
"valueString" : "string"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type",
"valueString" : "xsd:gYear OR xsd:gYearMonth OR xsd:date"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type",
"valueString" : "xsd:gYear OR xsd:gYearMonth OR xsd:date"
}]
}
}]
}]
}
}
},
{
"fullUrl" : "http://hl7.org/fhir/StructureDefinition/dateTime",
"resource" : {
"resourceType" : "StructureDefinition",
"id" : "dateTime",
"meta" : {
"lastUpdated" : "2018-12-27T22:37:54.724+11:00"
},
"text" : {
"status" : "generated",
"div" : "
to do
"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/dateTime",
"version" : "4.0.0",
"name" : "dateTime",
"status" : "active",
"date" : "2018-12-27T22:37:54+11:00",
"publisher" : "HL7 FHIR Standard",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
}]
}],
"description" : "Base StructureDefinition for dateTime Type: A date, date-time or partial date (e.g. just year or year + month). If hours and minutes are specified, a time zone SHALL be populated. The format is a union of the schema types gYear, gYearMonth, date and dateTime. Seconds must be provided due to schema type constraints but may be zero-filled and may be ignored. Dates SHALL be valid dates.",
"fhirVersion" : "4.0.0",
"kind" : "primitive-type",
"abstract" : false,
"type" : "dateTime",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Element",
"derivation" : "specialization",
"snapshot" : {
"element" : [{
"id" : "dateTime",
"path" : "dateTime",
"short" : "Primitive Type dateTime",
"definition" : "A date, date-time or partial date (e.g. just year or year + month). If hours and minutes are specified, a time zone SHALL be populated. The format is a union of the schema types gYear, gYearMonth, date and dateTime. Seconds must be provided due to schema type constraints but may be zero-filled and may be ignored. Dates SHALL be valid dates.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "dateTime",
"min" : 0,
"max" : "*"
},
"constraint" : [{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() or (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "Element"
}],
"isModifier" : false,
"isSummary" : false
},
{
"id" : "dateTime.id",
"path" : "dateTime.id",
"representation" : ["xmlAttr"],
"short" : "xml:id (or equivalent in JSON)",
"definition" : "unique id for the element within a resource (for internal references)",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false
},
{
"id" : "dateTime.extension",
"path" : "dateTime.extension",
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false
},
{
"id" : "dateTime.value",
"path" : "dateTime.value",
"representation" : ["xmlAttr"],
"short" : "Primitive value for dateTime",
"definition" : "The actual value",
"min" : 0,
"max" : "1",
"base" : {
"path" : "dateTime.value",
"min" : 0,
"max" : "1"
},
"type" : [{
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/regex",
"valueString" : "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?"
}],
"_code" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type",
"valueString" : "string"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type",
"valueString" : "xsd:gYear OR xsd:gYearMonth OR xsd:date OR xsd:dateTime"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type",
"valueString" : "xsd:gYear OR xsd:gYearMonth OR xsd:date OR xsd:dateTime"
}]
}
}],
"isModifier" : false,
"isSummary" : false
}]
},
"differential" : {
"element" : [{
"id" : "dateTime",
"path" : "dateTime",
"short" : "Primitive Type dateTime",
"definition" : "A date, date-time or partial date (e.g. just year or year + month). If hours and minutes are specified, a time zone SHALL be populated. The format is a union of the schema types gYear, gYearMonth, date and dateTime. Seconds must be provided due to schema type constraints but may be zero-filled and may be ignored. Dates SHALL be valid dates.",
"min" : 0,
"max" : "*"
},
{
"id" : "dateTime.value",
"path" : "dateTime.value",
"representation" : ["xmlAttr"],
"short" : "Primitive value for dateTime",
"definition" : "Primitive value for dateTime",
"min" : 0,
"max" : "1",
"type" : [{
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/regex",
"valueString" : "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?"
}],
"_code" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type",
"valueString" : "string"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type",
"valueString" : "xsd:gYear OR xsd:gYearMonth OR xsd:date OR xsd:dateTime"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type",
"valueString" : "xsd:gYear OR xsd:gYearMonth OR xsd:date OR xsd:dateTime"
}]
}
}]
}]
}
}
},
{
"fullUrl" : "http://hl7.org/fhir/StructureDefinition/decimal",
"resource" : {
"resourceType" : "StructureDefinition",
"id" : "decimal",
"meta" : {
"lastUpdated" : "2018-12-27T22:37:54.724+11:00"
},
"text" : {
"status" : "generated",
"div" : "
to do
"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/decimal",
"version" : "4.0.0",
"name" : "decimal",
"status" : "active",
"date" : "2018-12-27T22:37:54+11:00",
"publisher" : "HL7 FHIR Standard",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
}]
}],
"description" : "Base StructureDefinition for decimal Type: A rational number with implicit precision",
"fhirVersion" : "4.0.0",
"kind" : "primitive-type",
"abstract" : false,
"type" : "decimal",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Element",
"derivation" : "specialization",
"snapshot" : {
"element" : [{
"id" : "decimal",
"path" : "decimal",
"short" : "Primitive Type decimal",
"definition" : "A rational number with implicit precision",
"comment" : "Do not use an IEEE type floating point type, instead use something that works like a true decimal, with inbuilt precision (e.g. Java BigInteger)",
"min" : 0,
"max" : "*",
"base" : {
"path" : "decimal",
"min" : 0,
"max" : "*"
},
"constraint" : [{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() or (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "Element"
}],
"isModifier" : false,
"isSummary" : false
},
{
"id" : "decimal.id",
"path" : "decimal.id",
"representation" : ["xmlAttr"],
"short" : "xml:id (or equivalent in JSON)",
"definition" : "unique id for the element within a resource (for internal references)",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false
},
{
"id" : "decimal.extension",
"path" : "decimal.extension",
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false
},
{
"id" : "decimal.value",
"path" : "decimal.value",
"representation" : ["xmlAttr"],
"short" : "Primitive value for decimal",
"definition" : "The actual value",
"min" : 0,
"max" : "1",
"base" : {
"path" : "decimal.value",
"min" : 0,
"max" : "1"
},
"type" : [{
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/regex",
"valueString" : "-?(0|[1-9][0-9]*)(\\.[0-9]+)?([eE][+-]?[0-9]+)?"
}],
"_code" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type",
"valueString" : "number"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type",
"valueString" : "xsd:decimal OR xsd:double"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type",
"valueString" : "xsd:decimal OR xsd:double"
}]
}
}],
"isModifier" : false,
"isSummary" : false
}]
},
"differential" : {
"element" : [{
"id" : "decimal",
"path" : "decimal",
"short" : "Primitive Type decimal",
"definition" : "A rational number with implicit precision",
"comment" : "Do not use an IEEE type floating point type, instead use something that works like a true decimal, with inbuilt precision (e.g. Java BigInteger)",
"min" : 0,
"max" : "*"
},
{
"id" : "decimal.value",
"path" : "decimal.value",
"representation" : ["xmlAttr"],
"short" : "Primitive value for decimal",
"definition" : "Primitive value for decimal",
"min" : 0,
"max" : "1",
"type" : [{
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/regex",
"valueString" : "-?(0|[1-9][0-9]*)(\\.[0-9]+)?([eE][+-]?[0-9]+)?"
}],
"_code" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type",
"valueString" : "number"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type",
"valueString" : "xsd:decimal OR xsd:double"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type",
"valueString" : "xsd:decimal OR xsd:double"
}]
}
}]
}]
}
}
},
{
"fullUrl" : "http://hl7.org/fhir/StructureDefinition/id",
"resource" : {
"resourceType" : "StructureDefinition",
"id" : "id",
"meta" : {
"lastUpdated" : "2018-12-27T22:37:54.724+11:00"
},
"text" : {
"status" : "generated",
"div" : "
to do
"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/id",
"version" : "4.0.0",
"name" : "id",
"status" : "active",
"date" : "2018-12-27T22:37:54+11:00",
"publisher" : "HL7 FHIR Standard",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
}]
}],
"description" : "Base StructureDefinition for id type: Any combination of letters, numerals, \"-\" and \".\", with a length limit of 64 characters. (This might be an integer, an unprefixed OID, UUID or any other identifier pattern that meets these constraints.) Ids are case-insensitive.",
"fhirVersion" : "4.0.0",
"kind" : "primitive-type",
"abstract" : false,
"type" : "id",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/string",
"derivation" : "specialization",
"snapshot" : {
"element" : [{
"id" : "id",
"path" : "id",
"short" : "Primitive Type id",
"definition" : "Any combination of letters, numerals, \"-\" and \".\", with a length limit of 64 characters. (This might be an integer, an unprefixed OID, UUID or any other identifier pattern that meets these constraints.) Ids are case-insensitive.",
"comment" : "RFC 4122",
"min" : 0,
"max" : "*",
"base" : {
"path" : "id",
"min" : 0,
"max" : "*"
},
"constraint" : [{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() or (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "Element"
}],
"isModifier" : false,
"isSummary" : false
},
{
"id" : "id.id",
"path" : "id.id",
"representation" : ["xmlAttr"],
"short" : "xml:id (or equivalent in JSON)",
"definition" : "unique id for the element within a resource (for internal references)",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false
},
{
"id" : "id.extension",
"path" : "id.extension",
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false
},
{
"id" : "id.value",
"path" : "id.value",
"representation" : ["xmlAttr"],
"short" : "Primitive value for id",
"definition" : "Primitive value for id",
"min" : 0,
"max" : "1",
"base" : {
"path" : "string.value",
"min" : 0,
"max" : "1"
},
"type" : [{
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/regex",
"valueString" : "[A-Za-z0-9\\-\\.]{1,64}"
}],
"_code" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type",
"valueString" : "string"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type",
"valueString" : "xsd:string"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type",
"valueString" : "xsd:string"
}]
}
}],
"isModifier" : false,
"isSummary" : false
}]
},
"differential" : {
"element" : [{
"id" : "id",
"path" : "id",
"short" : "Primitive Type id",
"definition" : "Any combination of letters, numerals, \"-\" and \".\", with a length limit of 64 characters. (This might be an integer, an unprefixed OID, UUID or any other identifier pattern that meets these constraints.) Ids are case-insensitive.",
"comment" : "RFC 4122",
"min" : 0,
"max" : "*"
},
{
"id" : "id.value",
"path" : "id.value",
"representation" : ["xmlAttr"],
"short" : "Primitive value for id",
"definition" : "Primitive value for id",
"min" : 0,
"max" : "1",
"type" : [{
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/regex",
"valueString" : "[A-Za-z0-9\\-\\.]{1,64}"
}],
"_code" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type",
"valueString" : "string"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type",
"valueString" : "xsd:string"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type",
"valueString" : "xsd:string"
}]
}
}]
}]
}
}
},
{
"fullUrl" : "http://hl7.org/fhir/StructureDefinition/instant",
"resource" : {
"resourceType" : "StructureDefinition",
"id" : "instant",
"meta" : {
"lastUpdated" : "2018-12-27T22:37:54.724+11:00"
},
"text" : {
"status" : "generated",
"div" : "
to do
"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/instant",
"version" : "4.0.0",
"name" : "instant",
"status" : "active",
"date" : "2018-12-27T22:37:54+11:00",
"publisher" : "HL7 FHIR Standard",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
}]
}],
"description" : "Base StructureDefinition for instant Type: An instant in time - known at least to the second",
"fhirVersion" : "4.0.0",
"kind" : "primitive-type",
"abstract" : false,
"type" : "instant",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Element",
"derivation" : "specialization",
"snapshot" : {
"element" : [{
"id" : "instant",
"path" : "instant",
"short" : "Primitive Type instant",
"definition" : "An instant in time - known at least to the second",
"comment" : "Note: This is intended for where precisely observed times are required, typically system logs etc., and not human-reported times - for them, see date and dateTime (which can be as precise as instant, but is not required to be) below. Time zone is always required",
"min" : 0,
"max" : "*",
"base" : {
"path" : "instant",
"min" : 0,
"max" : "*"
},
"constraint" : [{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() or (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "Element"
}],
"isModifier" : false,
"isSummary" : false
},
{
"id" : "instant.id",
"path" : "instant.id",
"representation" : ["xmlAttr"],
"short" : "xml:id (or equivalent in JSON)",
"definition" : "unique id for the element within a resource (for internal references)",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false
},
{
"id" : "instant.extension",
"path" : "instant.extension",
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false
},
{
"id" : "instant.value",
"path" : "instant.value",
"representation" : ["xmlAttr"],
"short" : "Primitive value for instant",
"definition" : "The actual value",
"min" : 0,
"max" : "1",
"base" : {
"path" : "instant.value",
"min" : 0,
"max" : "1"
},
"type" : [{
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/regex",
"valueString" : "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))"
}],
"_code" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type",
"valueString" : "string"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type",
"valueString" : "xsd:dateTime"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type",
"valueString" : "xsd:dateTime"
}]
}
}],
"isModifier" : false,
"isSummary" : false
}]
},
"differential" : {
"element" : [{
"id" : "instant",
"path" : "instant",
"short" : "Primitive Type instant",
"definition" : "An instant in time - known at least to the second",
"comment" : "Note: This is intended for where precisely observed times are required, typically system logs etc., and not human-reported times - for them, see date and dateTime (which can be as precise as instant, but is not required to be) below. Time zone is always required",
"min" : 0,
"max" : "*"
},
{
"id" : "instant.value",
"path" : "instant.value",
"representation" : ["xmlAttr"],
"short" : "Primitive value for instant",
"definition" : "Primitive value for instant",
"min" : 0,
"max" : "1",
"type" : [{
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/regex",
"valueString" : "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))"
}],
"_code" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type",
"valueString" : "string"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type",
"valueString" : "xsd:dateTime"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type",
"valueString" : "xsd:dateTime"
}]
}
}]
}]
}
}
},
{
"fullUrl" : "http://hl7.org/fhir/StructureDefinition/integer",
"resource" : {
"resourceType" : "StructureDefinition",
"id" : "integer",
"meta" : {
"lastUpdated" : "2018-12-27T22:37:54.724+11:00"
},
"text" : {
"status" : "generated",
"div" : "
to do
"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/integer",
"version" : "4.0.0",
"name" : "integer",
"status" : "active",
"date" : "2018-12-27T22:37:54+11:00",
"publisher" : "HL7 FHIR Standard",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
}]
}],
"description" : "Base StructureDefinition for integer Type: A whole number",
"fhirVersion" : "4.0.0",
"kind" : "primitive-type",
"abstract" : false,
"type" : "integer",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Element",
"derivation" : "specialization",
"snapshot" : {
"element" : [{
"id" : "integer",
"path" : "integer",
"short" : "Primitive Type integer",
"definition" : "A whole number",
"comment" : "32 bit number; for values larger than this, use decimal",
"min" : 0,
"max" : "*",
"base" : {
"path" : "integer",
"min" : 0,
"max" : "*"
},
"constraint" : [{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() or (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "Element"
}],
"isModifier" : false,
"isSummary" : false
},
{
"id" : "integer.id",
"path" : "integer.id",
"representation" : ["xmlAttr"],
"short" : "xml:id (or equivalent in JSON)",
"definition" : "unique id for the element within a resource (for internal references)",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false
},
{
"id" : "integer.extension",
"path" : "integer.extension",
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false
},
{
"id" : "integer.value",
"path" : "integer.value",
"representation" : ["xmlAttr"],
"short" : "Primitive value for integer",
"definition" : "The actual value",
"min" : 0,
"max" : "1",
"base" : {
"path" : "integer.value",
"min" : 0,
"max" : "1"
},
"type" : [{
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/regex",
"valueString" : "-?([0]|([1-9][0-9]*))"
}],
"_code" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type",
"valueString" : "number"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type",
"valueString" : "xsd:int"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type",
"valueString" : "xsd:int"
}]
}
}],
"minValueInteger" : -2147483648,
"maxValueInteger" : 2147483647,
"isModifier" : false,
"isSummary" : false
}]
},
"differential" : {
"element" : [{
"id" : "integer",
"path" : "integer",
"short" : "Primitive Type integer",
"definition" : "A whole number",
"comment" : "32 bit number; for values larger than this, use decimal",
"min" : 0,
"max" : "*"
},
{
"id" : "integer.value",
"path" : "integer.value",
"representation" : ["xmlAttr"],
"short" : "Primitive value for integer",
"definition" : "Primitive value for integer",
"min" : 0,
"max" : "1",
"type" : [{
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/regex",
"valueString" : "-?([0]|([1-9][0-9]*))"
}],
"_code" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type",
"valueString" : "number"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type",
"valueString" : "xsd:int"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type",
"valueString" : "xsd:int"
}]
}
}],
"minValueInteger" : -2147483648,
"maxValueInteger" : 2147483647
}]
}
}
},
{
"fullUrl" : "http://hl7.org/fhir/StructureDefinition/markdown",
"resource" : {
"resourceType" : "StructureDefinition",
"id" : "markdown",
"meta" : {
"lastUpdated" : "2018-12-27T22:37:54.724+11:00"
},
"text" : {
"status" : "generated",
"div" : "
to do
"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/markdown",
"version" : "4.0.0",
"name" : "markdown",
"status" : "active",
"date" : "2018-12-27T22:37:54+11:00",
"publisher" : "HL7 FHIR Standard",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
}]
}],
"description" : "Base StructureDefinition for markdown type: A string that may contain Github Flavored Markdown syntax for optional processing by a mark down presentation engine",
"fhirVersion" : "4.0.0",
"kind" : "primitive-type",
"abstract" : false,
"type" : "markdown",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/string",
"derivation" : "specialization",
"snapshot" : {
"element" : [{
"id" : "markdown",
"path" : "markdown",
"short" : "Primitive Type markdown",
"definition" : "A string that may contain Github Flavored Markdown syntax for optional processing by a mark down presentation engine",
"comment" : "Systems are not required to have markdown support, so the text should be readable without markdown processing. The markdown syntax is GFM - see https://github.github.com/gfm/",
"min" : 0,
"max" : "*",
"base" : {
"path" : "markdown",
"min" : 0,
"max" : "*"
},
"constraint" : [{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() or (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "Element"
}],
"isModifier" : false,
"isSummary" : false
},
{
"id" : "markdown.id",
"path" : "markdown.id",
"representation" : ["xmlAttr"],
"short" : "xml:id (or equivalent in JSON)",
"definition" : "unique id for the element within a resource (for internal references)",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false
},
{
"id" : "markdown.extension",
"path" : "markdown.extension",
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false
},
{
"id" : "markdown.value",
"path" : "markdown.value",
"representation" : ["xmlAttr"],
"short" : "Primitive value for markdown",
"definition" : "Primitive value for markdown",
"min" : 0,
"max" : "1",
"base" : {
"path" : "string.value",
"min" : 0,
"max" : "1"
},
"type" : [{
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/regex",
"valueString" : "[ \\r\\n\\t\\S]+"
}],
"_code" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type",
"valueString" : "string"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type",
"valueString" : "xsd:string"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type",
"valueString" : "xsd:string"
}]
}
}],
"isModifier" : false,
"isSummary" : false
}]
},
"differential" : {
"element" : [{
"id" : "markdown",
"path" : "markdown",
"short" : "Primitive Type markdown",
"definition" : "A string that may contain Github Flavored Markdown syntax for optional processing by a mark down presentation engine",
"comment" : "Systems are not required to have markdown support, so the text should be readable without markdown processing. The markdown syntax is GFM - see https://github.github.com/gfm/",
"min" : 0,
"max" : "*"
},
{
"id" : "markdown.value",
"path" : "markdown.value",
"representation" : ["xmlAttr"],
"short" : "Primitive value for markdown",
"definition" : "Primitive value for markdown",
"min" : 0,
"max" : "1",
"type" : [{
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/regex",
"valueString" : "[ \\r\\n\\t\\S]+"
}],
"_code" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type",
"valueString" : "string"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type",
"valueString" : "xsd:string"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type",
"valueString" : "xsd:string"
}]
}
}]
}]
}
}
},
{
"fullUrl" : "http://hl7.org/fhir/StructureDefinition/oid",
"resource" : {
"resourceType" : "StructureDefinition",
"id" : "oid",
"meta" : {
"lastUpdated" : "2018-12-27T22:37:54.724+11:00"
},
"text" : {
"status" : "generated",
"div" : "
to do
"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/oid",
"version" : "4.0.0",
"name" : "oid",
"status" : "active",
"date" : "2018-12-27T22:37:54+11:00",
"publisher" : "HL7 FHIR Standard",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
}]
}],
"description" : "Base StructureDefinition for oid type: An OID represented as a URI",
"fhirVersion" : "4.0.0",
"kind" : "primitive-type",
"abstract" : false,
"type" : "oid",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/uri",
"derivation" : "specialization",
"snapshot" : {
"element" : [{
"id" : "oid",
"path" : "oid",
"short" : "Primitive Type oid",
"definition" : "An OID represented as a URI",
"comment" : "RFC 3001. See also ISO/IEC 8824:1990 €",
"min" : 0,
"max" : "*",
"base" : {
"path" : "oid",
"min" : 0,
"max" : "*"
},
"constraint" : [{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() or (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "Element"
}],
"isModifier" : false,
"isSummary" : false
},
{
"id" : "oid.id",
"path" : "oid.id",
"representation" : ["xmlAttr"],
"short" : "xml:id (or equivalent in JSON)",
"definition" : "unique id for the element within a resource (for internal references)",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false
},
{
"id" : "oid.extension",
"path" : "oid.extension",
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false
},
{
"id" : "oid.value",
"path" : "oid.value",
"representation" : ["xmlAttr"],
"short" : "Primitive value for oid",
"definition" : "Primitive value for oid",
"min" : 0,
"max" : "1",
"base" : {
"path" : "uri.value",
"min" : 0,
"max" : "1"
},
"type" : [{
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/regex",
"valueString" : "urn:oid:[0-2](\\.(0|[1-9][0-9]*))+"
}],
"_code" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type",
"valueString" : "string"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type",
"valueString" : "xsd:anyURI"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type",
"valueString" : "xsd:string"
}]
}
}],
"isModifier" : false,
"isSummary" : false
}]
},
"differential" : {
"element" : [{
"id" : "oid",
"path" : "oid",
"short" : "Primitive Type oid",
"definition" : "An OID represented as a URI",
"comment" : "RFC 3001. See also ISO/IEC 8824:1990 €",
"min" : 0,
"max" : "*"
},
{
"id" : "oid.value",
"path" : "oid.value",
"representation" : ["xmlAttr"],
"short" : "Primitive value for oid",
"definition" : "Primitive value for oid",
"min" : 0,
"max" : "1",
"type" : [{
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/regex",
"valueString" : "urn:oid:[0-2](\\.(0|[1-9][0-9]*))+"
}],
"_code" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type",
"valueString" : "string"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type",
"valueString" : "xsd:anyURI"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type",
"valueString" : "xsd:string"
}]
}
}]
}]
}
}
},
{
"fullUrl" : "http://hl7.org/fhir/StructureDefinition/positiveInt",
"resource" : {
"resourceType" : "StructureDefinition",
"id" : "positiveInt",
"meta" : {
"lastUpdated" : "2018-12-27T22:37:54.724+11:00"
},
"text" : {
"status" : "generated",
"div" : "
to do
"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/positiveInt",
"version" : "4.0.0",
"name" : "positiveInt",
"status" : "active",
"date" : "2018-12-27T22:37:54+11:00",
"publisher" : "HL7 FHIR Standard",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
}]
}],
"description" : "Base StructureDefinition for positiveInt type: An integer with a value that is positive (e.g. >0)",
"fhirVersion" : "4.0.0",
"kind" : "primitive-type",
"abstract" : false,
"type" : "positiveInt",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/integer",
"derivation" : "specialization",
"snapshot" : {
"element" : [{
"id" : "positiveInt",
"path" : "positiveInt",
"short" : "Primitive Type positiveInt",
"definition" : "An integer with a value that is positive (e.g. >0)",
"min" : 0,
"max" : "*",
"base" : {
"path" : "positiveInt",
"min" : 0,
"max" : "*"
},
"constraint" : [{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() or (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "Element"
}],
"isModifier" : false,
"isSummary" : false
},
{
"id" : "positiveInt.id",
"path" : "positiveInt.id",
"representation" : ["xmlAttr"],
"short" : "xml:id (or equivalent in JSON)",
"definition" : "unique id for the element within a resource (for internal references)",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false
},
{
"id" : "positiveInt.extension",
"path" : "positiveInt.extension",
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false
},
{
"id" : "positiveInt.value",
"path" : "positiveInt.value",
"representation" : ["xmlAttr"],
"short" : "Primitive value for positiveInt",
"definition" : "Primitive value for positiveInt",
"min" : 0,
"max" : "1",
"base" : {
"path" : "integer.value",
"min" : 0,
"max" : "1"
},
"type" : [{
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/regex",
"valueString" : "[1-9][0-9]*"
}],
"_code" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type",
"valueString" : "number"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type",
"valueString" : "xsd:positiveInteger"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type",
"valueString" : "xsd:positiveInteger"
}]
}
}],
"isModifier" : false,
"isSummary" : false
}]
},
"differential" : {
"element" : [{
"id" : "positiveInt",
"path" : "positiveInt",
"short" : "Primitive Type positiveInt",
"definition" : "An integer with a value that is positive (e.g. >0)",
"min" : 0,
"max" : "*"
},
{
"id" : "positiveInt.value",
"path" : "positiveInt.value",
"representation" : ["xmlAttr"],
"short" : "Primitive value for positiveInt",
"definition" : "Primitive value for positiveInt",
"min" : 0,
"max" : "1",
"type" : [{
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/regex",
"valueString" : "[1-9][0-9]*"
}],
"_code" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type",
"valueString" : "number"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type",
"valueString" : "xsd:positiveInteger"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type",
"valueString" : "xsd:positiveInteger"
}]
}
}]
}]
}
}
},
{
"fullUrl" : "http://hl7.org/fhir/StructureDefinition/string",
"resource" : {
"resourceType" : "StructureDefinition",
"id" : "string",
"meta" : {
"lastUpdated" : "2018-12-27T22:37:54.724+11:00"
},
"text" : {
"status" : "generated",
"div" : "
to do
"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/string",
"version" : "4.0.0",
"name" : "string",
"status" : "active",
"date" : "2018-12-27T22:37:54+11:00",
"publisher" : "HL7 FHIR Standard",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
}]
}],
"description" : "Base StructureDefinition for string Type: A sequence of Unicode characters",
"fhirVersion" : "4.0.0",
"kind" : "primitive-type",
"abstract" : false,
"type" : "string",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Element",
"derivation" : "specialization",
"snapshot" : {
"element" : [{
"id" : "string",
"path" : "string",
"short" : "Primitive Type string",
"definition" : "A sequence of Unicode characters",
"comment" : "Note that FHIR strings SHALL NOT exceed 1MB in size",
"min" : 0,
"max" : "*",
"base" : {
"path" : "string",
"min" : 0,
"max" : "*"
},
"constraint" : [{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() or (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "Element"
}],
"isModifier" : false,
"isSummary" : false
},
{
"id" : "string.id",
"path" : "string.id",
"representation" : ["xmlAttr"],
"short" : "xml:id (or equivalent in JSON)",
"definition" : "unique id for the element within a resource (for internal references)",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false
},
{
"id" : "string.extension",
"path" : "string.extension",
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false
},
{
"id" : "string.value",
"path" : "string.value",
"representation" : ["xmlAttr"],
"short" : "Primitive value for string",
"definition" : "The actual value",
"min" : 0,
"max" : "1",
"base" : {
"path" : "string.value",
"min" : 0,
"max" : "1"
},
"type" : [{
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/regex",
"valueString" : "[ \\r\\n\\t\\S]+"
}],
"_code" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type",
"valueString" : "string"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type",
"valueString" : "xsd:string"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type",
"valueString" : "xsd:string"
}]
}
}],
"maxLength" : 1048576,
"isModifier" : false,
"isSummary" : false
}]
},
"differential" : {
"element" : [{
"id" : "string",
"path" : "string",
"short" : "Primitive Type string",
"definition" : "A sequence of Unicode characters",
"comment" : "Note that FHIR strings SHALL NOT exceed 1MB in size",
"min" : 0,
"max" : "*"
},
{
"id" : "string.value",
"path" : "string.value",
"representation" : ["xmlAttr"],
"short" : "Primitive value for string",
"definition" : "Primitive value for string",
"min" : 0,
"max" : "1",
"type" : [{
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/regex",
"valueString" : "[ \\r\\n\\t\\S]+"
}],
"_code" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type",
"valueString" : "string"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type",
"valueString" : "xsd:string"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type",
"valueString" : "xsd:string"
}]
}
}],
"maxLength" : 1048576
}]
}
}
},
{
"fullUrl" : "http://hl7.org/fhir/StructureDefinition/time",
"resource" : {
"resourceType" : "StructureDefinition",
"id" : "time",
"meta" : {
"lastUpdated" : "2018-12-27T22:37:54.724+11:00"
},
"text" : {
"status" : "generated",
"div" : "
to do
"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/time",
"version" : "4.0.0",
"name" : "time",
"status" : "active",
"date" : "2018-12-27T22:37:54+11:00",
"publisher" : "HL7 FHIR Standard",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
}]
}],
"description" : "Base StructureDefinition for time Type: A time during the day, with no date specified",
"fhirVersion" : "4.0.0",
"kind" : "primitive-type",
"abstract" : false,
"type" : "time",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Element",
"derivation" : "specialization",
"snapshot" : {
"element" : [{
"id" : "time",
"path" : "time",
"short" : "Primitive Type time",
"definition" : "A time during the day, with no date specified",
"min" : 0,
"max" : "*",
"base" : {
"path" : "time",
"min" : 0,
"max" : "*"
},
"constraint" : [{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() or (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "Element"
}],
"isModifier" : false,
"isSummary" : false
},
{
"id" : "time.id",
"path" : "time.id",
"representation" : ["xmlAttr"],
"short" : "xml:id (or equivalent in JSON)",
"definition" : "unique id for the element within a resource (for internal references)",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false
},
{
"id" : "time.extension",
"path" : "time.extension",
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false
},
{
"id" : "time.value",
"path" : "time.value",
"representation" : ["xmlAttr"],
"short" : "Primitive value for time",
"definition" : "The actual value",
"min" : 0,
"max" : "1",
"base" : {
"path" : "time.value",
"min" : 0,
"max" : "1"
},
"type" : [{
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/regex",
"valueString" : "([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?"
}],
"_code" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type",
"valueString" : "string"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type",
"valueString" : "xsd:time"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type",
"valueString" : "xsd:time"
}]
}
}],
"isModifier" : false,
"isSummary" : false
}]
},
"differential" : {
"element" : [{
"id" : "time",
"path" : "time",
"short" : "Primitive Type time",
"definition" : "A time during the day, with no date specified",
"min" : 0,
"max" : "*"
},
{
"id" : "time.value",
"path" : "time.value",
"representation" : ["xmlAttr"],
"short" : "Primitive value for time",
"definition" : "Primitive value for time",
"min" : 0,
"max" : "1",
"type" : [{
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/regex",
"valueString" : "([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?"
}],
"_code" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type",
"valueString" : "string"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type",
"valueString" : "xsd:time"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type",
"valueString" : "xsd:time"
}]
}
}]
}]
}
}
},
{
"fullUrl" : "http://hl7.org/fhir/StructureDefinition/unsignedInt",
"resource" : {
"resourceType" : "StructureDefinition",
"id" : "unsignedInt",
"meta" : {
"lastUpdated" : "2018-12-27T22:37:54.724+11:00"
},
"text" : {
"status" : "generated",
"div" : "
to do
"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/unsignedInt",
"version" : "4.0.0",
"name" : "unsignedInt",
"status" : "active",
"date" : "2018-12-27T22:37:54+11:00",
"publisher" : "HL7 FHIR Standard",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
}]
}],
"description" : "Base StructureDefinition for unsignedInt type: An integer with a value that is not negative (e.g. >= 0)",
"fhirVersion" : "4.0.0",
"kind" : "primitive-type",
"abstract" : false,
"type" : "unsignedInt",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/integer",
"derivation" : "specialization",
"snapshot" : {
"element" : [{
"id" : "unsignedInt",
"path" : "unsignedInt",
"short" : "Primitive Type unsignedInt",
"definition" : "An integer with a value that is not negative (e.g. >= 0)",
"min" : 0,
"max" : "*",
"base" : {
"path" : "unsignedInt",
"min" : 0,
"max" : "*"
},
"constraint" : [{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() or (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "Element"
}],
"isModifier" : false,
"isSummary" : false
},
{
"id" : "unsignedInt.id",
"path" : "unsignedInt.id",
"representation" : ["xmlAttr"],
"short" : "xml:id (or equivalent in JSON)",
"definition" : "unique id for the element within a resource (for internal references)",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false
},
{
"id" : "unsignedInt.extension",
"path" : "unsignedInt.extension",
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false
},
{
"id" : "unsignedInt.value",
"path" : "unsignedInt.value",
"representation" : ["xmlAttr"],
"short" : "Primitive value for unsignedInt",
"definition" : "Primitive value for unsignedInt",
"min" : 0,
"max" : "1",
"base" : {
"path" : "integer.value",
"min" : 0,
"max" : "1"
},
"type" : [{
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/regex",
"valueString" : "[0]|([1-9][0-9]*)"
}],
"_code" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type",
"valueString" : "number"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type",
"valueString" : "xsd:nonNegativeInteger"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type",
"valueString" : "xsd:nonNegativeInteger"
}]
}
}],
"isModifier" : false,
"isSummary" : false
}]
},
"differential" : {
"element" : [{
"id" : "unsignedInt",
"path" : "unsignedInt",
"short" : "Primitive Type unsignedInt",
"definition" : "An integer with a value that is not negative (e.g. >= 0)",
"min" : 0,
"max" : "*"
},
{
"id" : "unsignedInt.value",
"path" : "unsignedInt.value",
"representation" : ["xmlAttr"],
"short" : "Primitive value for unsignedInt",
"definition" : "Primitive value for unsignedInt",
"min" : 0,
"max" : "1",
"type" : [{
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/regex",
"valueString" : "[0]|([1-9][0-9]*)"
}],
"_code" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type",
"valueString" : "number"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type",
"valueString" : "xsd:nonNegativeInteger"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type",
"valueString" : "xsd:nonNegativeInteger"
}]
}
}]
}]
}
}
},
{
"fullUrl" : "http://hl7.org/fhir/StructureDefinition/uri",
"resource" : {
"resourceType" : "StructureDefinition",
"id" : "uri",
"meta" : {
"lastUpdated" : "2018-12-27T22:37:54.724+11:00"
},
"text" : {
"status" : "generated",
"div" : "
to do
"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/uri",
"version" : "4.0.0",
"name" : "uri",
"status" : "active",
"date" : "2018-12-27T22:37:54+11:00",
"publisher" : "HL7 FHIR Standard",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
}]
}],
"description" : "Base StructureDefinition for uri Type: String of characters used to identify a name or a resource",
"fhirVersion" : "4.0.0",
"kind" : "primitive-type",
"abstract" : false,
"type" : "uri",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Element",
"derivation" : "specialization",
"snapshot" : {
"element" : [{
"id" : "uri",
"path" : "uri",
"short" : "Primitive Type uri",
"definition" : "String of characters used to identify a name or a resource",
"comment" : "see http://en.wikipedia.org/wiki/Uniform_resource_identifier",
"min" : 0,
"max" : "*",
"base" : {
"path" : "uri",
"min" : 0,
"max" : "*"
},
"constraint" : [{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() or (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "Element"
}],
"isModifier" : false,
"isSummary" : false
},
{
"id" : "uri.id",
"path" : "uri.id",
"representation" : ["xmlAttr"],
"short" : "xml:id (or equivalent in JSON)",
"definition" : "unique id for the element within a resource (for internal references)",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false
},
{
"id" : "uri.extension",
"path" : "uri.extension",
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false
},
{
"id" : "uri.value",
"path" : "uri.value",
"representation" : ["xmlAttr"],
"short" : "Primitive value for uri",
"definition" : "The actual value",
"min" : 0,
"max" : "1",
"base" : {
"path" : "uri.value",
"min" : 0,
"max" : "1"
},
"type" : [{
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/regex",
"valueString" : "\\S*"
}],
"_code" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type",
"valueString" : "string"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type",
"valueString" : "xsd:anyURI"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type",
"valueString" : "xsd:string"
}]
}
}],
"isModifier" : false,
"isSummary" : false
}]
},
"differential" : {
"element" : [{
"id" : "uri",
"path" : "uri",
"short" : "Primitive Type uri",
"definition" : "String of characters used to identify a name or a resource",
"comment" : "see http://en.wikipedia.org/wiki/Uniform_resource_identifier",
"min" : 0,
"max" : "*"
},
{
"id" : "uri.value",
"path" : "uri.value",
"representation" : ["xmlAttr"],
"short" : "Primitive value for uri",
"definition" : "Primitive value for uri",
"min" : 0,
"max" : "1",
"type" : [{
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/regex",
"valueString" : "\\S*"
}],
"_code" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type",
"valueString" : "string"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type",
"valueString" : "xsd:anyURI"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type",
"valueString" : "xsd:string"
}]
}
}]
}]
}
}
},
{
"fullUrl" : "http://hl7.org/fhir/StructureDefinition/url",
"resource" : {
"resourceType" : "StructureDefinition",
"id" : "url",
"meta" : {
"lastUpdated" : "2018-12-27T22:37:54.724+11:00"
},
"text" : {
"status" : "generated",
"div" : "
to do
"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/url",
"version" : "4.0.0",
"name" : "url",
"status" : "active",
"date" : "2018-12-27T22:37:54+11:00",
"publisher" : "HL7 FHIR Standard",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
}]
}],
"description" : "Base StructureDefinition for url type: A URI that is a literal reference",
"fhirVersion" : "4.0.0",
"kind" : "primitive-type",
"abstract" : false,
"type" : "url",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/uri",
"derivation" : "specialization",
"snapshot" : {
"element" : [{
"id" : "url",
"path" : "url",
"short" : "Primitive Type url",
"definition" : "A URI that is a literal reference",
"min" : 0,
"max" : "*",
"base" : {
"path" : "url",
"min" : 0,
"max" : "*"
},
"constraint" : [{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() or (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "Element"
}],
"isModifier" : false,
"isSummary" : false
},
{
"id" : "url.id",
"path" : "url.id",
"representation" : ["xmlAttr"],
"short" : "xml:id (or equivalent in JSON)",
"definition" : "unique id for the element within a resource (for internal references)",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false
},
{
"id" : "url.extension",
"path" : "url.extension",
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false
},
{
"id" : "url.value",
"path" : "url.value",
"representation" : ["xmlAttr"],
"short" : "Primitive value for url",
"definition" : "Primitive value for url",
"min" : 0,
"max" : "1",
"base" : {
"path" : "uri.value",
"min" : 0,
"max" : "1"
},
"type" : [{
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/regex",
"valueString" : "\\S*"
}],
"_code" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type",
"valueString" : "string"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type",
"valueString" : "xsd:anyURI"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type",
"valueString" : "xsd:string"
}]
}
}],
"isModifier" : false,
"isSummary" : false
}]
},
"differential" : {
"element" : [{
"id" : "url",
"path" : "url",
"short" : "Primitive Type url",
"definition" : "A URI that is a literal reference",
"min" : 0,
"max" : "*"
},
{
"id" : "url.value",
"path" : "url.value",
"representation" : ["xmlAttr"],
"short" : "Primitive value for url",
"definition" : "Primitive value for url",
"min" : 0,
"max" : "1",
"type" : [{
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/regex",
"valueString" : "\\S*"
}],
"_code" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type",
"valueString" : "string"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type",
"valueString" : "xsd:anyURI"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type",
"valueString" : "xsd:string"
}]
}
}]
}]
}
}
},
{
"fullUrl" : "http://hl7.org/fhir/StructureDefinition/uuid",
"resource" : {
"resourceType" : "StructureDefinition",
"id" : "uuid",
"meta" : {
"lastUpdated" : "2018-12-27T22:37:54.724+11:00"
},
"text" : {
"status" : "generated",
"div" : "
to do
"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/uuid",
"version" : "4.0.0",
"name" : "uuid",
"status" : "active",
"date" : "2018-12-27T22:37:54+11:00",
"publisher" : "HL7 FHIR Standard",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
}]
}],
"description" : "Base StructureDefinition for uuid type: A UUID, represented as a URI",
"fhirVersion" : "4.0.0",
"kind" : "primitive-type",
"abstract" : false,
"type" : "uuid",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/uri",
"derivation" : "specialization",
"snapshot" : {
"element" : [{
"id" : "uuid",
"path" : "uuid",
"short" : "Primitive Type uuid",
"definition" : "A UUID, represented as a URI",
"comment" : "See The Open Group, CDE 1.1 Remote Procedure Call specification, Appendix A.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "uuid",
"min" : 0,
"max" : "*"
},
"constraint" : [{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() or (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "Element"
}],
"isModifier" : false,
"isSummary" : false
},
{
"id" : "uuid.id",
"path" : "uuid.id",
"representation" : ["xmlAttr"],
"short" : "xml:id (or equivalent in JSON)",
"definition" : "unique id for the element within a resource (for internal references)",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false
},
{
"id" : "uuid.extension",
"path" : "uuid.extension",
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false
},
{
"id" : "uuid.value",
"path" : "uuid.value",
"representation" : ["xmlAttr"],
"short" : "Primitive value for uuid",
"definition" : "Primitive value for uuid",
"min" : 0,
"max" : "1",
"base" : {
"path" : "uri.value",
"min" : 0,
"max" : "1"
},
"type" : [{
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/regex",
"valueString" : "urn:uuid:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}"
}],
"_code" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type",
"valueString" : "string"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type",
"valueString" : "xsd:anyURI"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type",
"valueString" : "xsd:string"
}]
}
}],
"isModifier" : false,
"isSummary" : false
}]
},
"differential" : {
"element" : [{
"id" : "uuid",
"path" : "uuid",
"short" : "Primitive Type uuid",
"definition" : "A UUID, represented as a URI",
"comment" : "See The Open Group, CDE 1.1 Remote Procedure Call specification, Appendix A.",
"min" : 0,
"max" : "*"
},
{
"id" : "uuid.value",
"path" : "uuid.value",
"representation" : ["xmlAttr"],
"short" : "Primitive value for uuid",
"definition" : "Primitive value for uuid",
"min" : 0,
"max" : "1",
"type" : [{
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/regex",
"valueString" : "urn:uuid:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}"
}],
"_code" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type",
"valueString" : "string"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type",
"valueString" : "xsd:anyURI"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type",
"valueString" : "xsd:string"
}]
}
}]
}]
}
}
},
{
"fullUrl" : "http://hl7.org/fhir/StructureDefinition/xhtml",
"resource" : {
"resourceType" : "StructureDefinition",
"id" : "xhtml",
"meta" : {
"lastUpdated" : "2018-12-27T22:37:54.724+11:00"
},
"text" : {
"status" : "generated",
"div" : "
to do
"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/xhtml",
"version" : "4.0.0",
"name" : "xhtml",
"status" : "active",
"date" : "2018-12-27T22:37:54+11:00",
"publisher" : "HL7 FHIR Standard",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
}]
}],
"description" : "Base StructureDefinition for xhtml Type",
"fhirVersion" : "4.0.0",
"kind" : "primitive-type",
"abstract" : false,
"type" : "xhtml",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Element",
"derivation" : "specialization",
"snapshot" : {
"element" : [{
"id" : "xhtml",
"path" : "xhtml",
"short" : "Primitive Type xhtml",
"definition" : "XHTML",
"min" : 0,
"max" : "*",
"base" : {
"path" : "xhtml",
"min" : 0,
"max" : "*"
},
"isModifier" : false,
"isSummary" : false
},
{
"id" : "xhtml.id",
"path" : "xhtml.id",
"representation" : ["xmlAttr"],
"short" : "xml:id (or equivalent in JSON)",
"definition" : "unique id for the element within a resource (for internal references)",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false
},
{
"id" : "xhtml.extension",
"path" : "xhtml.extension",
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "0",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false
},
{
"id" : "xhtml.value",
"path" : "xhtml.value",
"representation" : ["xhtml"],
"short" : "Actual xhtml",
"definition" : "Actual xhtml",
"min" : 1,
"max" : "1",
"base" : {
"path" : "xhtml.value",
"min" : 1,
"max" : "1"
},
"type" : [{
"_code" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type",
"valueString" : "string"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type",
"valueString" : "xhtml:div"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type",
"valueString" : "string"
}]
}
}],
"isModifier" : false,
"isSummary" : false
}]
},
"differential" : {
"element" : [{
"id" : "xhtml",
"path" : "xhtml",
"short" : "Primitive Type xhtml",
"definition" : "XHTML",
"min" : 0,
"max" : "*"
},
{
"id" : "xhtml.extension",
"path" : "xhtml.extension",
"max" : "0"
},
{
"id" : "xhtml.value",
"path" : "xhtml.value",
"representation" : ["xhtml"],
"short" : "Actual xhtml",
"definition" : "Actual xhtml",
"min" : 1,
"max" : "1",
"type" : [{
"_code" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type",
"valueString" : "string"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type",
"valueString" : "xhtml:div"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type",
"valueString" : "string"
}]
}
}]
}]
}
}
},
{
"fullUrl" : "http://hl7.org/fhir/StructureDefinition/Address",
"resource" : {
"resourceType" : "StructureDefinition",
"id" : "Address",
"meta" : {
"lastUpdated" : "2018-12-27T22:37:54.724+11:00"
},
"text" : {
"status" : "generated",
"div" : "
"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/Address",
"version" : "4.0.0",
"name" : "Address",
"status" : "active",
"date" : "2018-12-27T22:37:54+11:00",
"publisher" : "HL7 FHIR Standard",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
}]
}],
"description" : "Base StructureDefinition for Address Type: An address expressed using postal conventions (as opposed to GPS or other location definition formats). This data type may be used to convey addresses for use in delivering mail as well as for visiting locations which might not be valid for mail delivery. There are a variety of postal address formats defined around the world.",
"purpose" : "Need to be able to record postal addresses, along with notes about their use.",
"fhirVersion" : "4.0.0",
"mapping" : [{
"identity" : "v2",
"uri" : "http://hl7.org/v2",
"name" : "HL7 v2 Mapping"
},
{
"identity" : "rim",
"uri" : "http://hl7.org/v3",
"name" : "RIM Mapping"
},
{
"identity" : "servd",
"uri" : "http://www.omg.org/spec/ServD/1.0/",
"name" : "ServD"
},
{
"identity" : "vcard",
"uri" : "http://w3.org/vcard",
"name" : "vCard Mapping"
}],
"kind" : "complex-type",
"abstract" : false,
"type" : "Address",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Element",
"derivation" : "specialization",
"snapshot" : {
"element" : [{
"id" : "Address",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"path" : "Address",
"short" : "An address expressed using postal conventions (as opposed to GPS or other location definition formats)",
"definition" : "An address expressed using postal conventions (as opposed to GPS or other location definition formats). This data type may be used to convey addresses for use in delivering mail as well as for visiting locations which might not be valid for mail delivery. There are a variety of postal address formats defined around the world.",
"comment" : "Note: address is intended to describe postal addresses for administrative purposes, not to describe absolute geographical coordinates. Postal addresses are often used as proxies for physical locations (also see the [Location](location.html#) resource).",
"min" : 0,
"max" : "*",
"base" : {
"path" : "Address",
"min" : 0,
"max" : "*"
},
"condition" : ["ele-1"],
"constraint" : [{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() or (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "Element"
}],
"isModifier" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
},
{
"identity" : "v2",
"map" : "XAD"
},
{
"identity" : "rim",
"map" : "AD"
},
{
"identity" : "servd",
"map" : "Address"
}]
},
{
"id" : "Address.id",
"path" : "Address.id",
"representation" : ["xmlAttr"],
"short" : "Unique id for inter-element referencing",
"definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "Address.extension",
"path" : "Address.extension",
"slicing" : {
"discriminator" : [{
"type" : "value",
"path" : "url"
}],
"description" : "Extensions are always sliced by (at least) url",
"rules" : "open"
},
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "Address.use",
"path" : "Address.use",
"short" : "home | work | temp | old | billing - purpose of this address",
"definition" : "The purpose of this address.",
"comment" : "Applications can assume that an address is current unless it explicitly says that it is temporary or old.",
"requirements" : "Allows an appropriate address to be chosen from a list of many.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Address.use",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "code"
}],
"example" : [{
"label" : "General",
"valueCode" : "home"
}],
"isModifier" : true,
"isModifierReason" : "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old address etc.for a current/permanent one",
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "AddressUse"
}],
"strength" : "required",
"description" : "The use of an address.",
"valueSet" : "http://hl7.org/fhir/ValueSet/address-use|4.0.0"
},
"mapping" : [{
"identity" : "v2",
"map" : "XAD.7"
},
{
"identity" : "rim",
"map" : "unique(./use)"
},
{
"identity" : "servd",
"map" : "./AddressPurpose"
}]
},
{
"id" : "Address.type",
"path" : "Address.type",
"short" : "postal | physical | both",
"definition" : "Distinguishes between physical addresses (those you can visit) and mailing addresses (e.g. PO Boxes and care-of addresses). Most addresses are both.",
"comment" : "The definition of Address states that \"address is intended to describe postal addresses, not physical locations\". However, many applications track whether an address has a dual purpose of being a location that can be visited as well as being a valid delivery destination, and Postal addresses are often used as proxies for physical locations (also see the [Location](location.html#) resource).",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Address.type",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "code"
}],
"example" : [{
"label" : "General",
"valueCode" : "both"
}],
"isModifier" : false,
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "AddressType"
}],
"strength" : "required",
"description" : "The type of an address (physical / postal).",
"valueSet" : "http://hl7.org/fhir/ValueSet/address-type|4.0.0"
},
"mapping" : [{
"identity" : "v2",
"map" : "XAD.18"
},
{
"identity" : "rim",
"map" : "unique(./use)"
},
{
"identity" : "vcard",
"map" : "address type parameter"
}]
},
{
"id" : "Address.text",
"path" : "Address.text",
"short" : "Text representation of the address",
"definition" : "Specifies the entire address as it should be displayed e.g. on a postal label. This may be provided instead of or as well as the specific parts.",
"comment" : "Can provide both a text representation and parts. Applications updating an address SHALL ensure that when both text and parts are present, no content is included in the text that isn't found in a part.",
"requirements" : "A renderable, unencoded form.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Address.text",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"example" : [{
"label" : "General",
"valueString" : "137 Nowhere Street, Erewhon 9132"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "XAD.1 + XAD.2 + XAD.3 + XAD.4 + XAD.5 + XAD.6"
},
{
"identity" : "rim",
"map" : "./formatted"
},
{
"identity" : "vcard",
"map" : "address label parameter"
}]
},
{
"id" : "Address.line",
"path" : "Address.line",
"short" : "Street name, number, direction & P.O. Box etc.",
"definition" : "This component contains the house number, apartment number, street name, street direction, P.O. Box number, delivery hints, and similar address information.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "Address.line",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "string"
}],
"orderMeaning" : "The order in which lines should appear in an address label",
"example" : [{
"label" : "General",
"valueString" : "137 Nowhere Street"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "XAD.1 + XAD.2 (note: XAD.1 and XAD.2 have different meanings for a company address than for a person address)"
},
{
"identity" : "rim",
"map" : "AD.part[parttype = AL]"
},
{
"identity" : "vcard",
"map" : "street"
},
{
"identity" : "servd",
"map" : "./StreetAddress (newline delimitted)"
}]
},
{
"id" : "Address.city",
"path" : "Address.city",
"short" : "Name of city, town etc.",
"definition" : "The name of the city, town, suburb, village or other community or delivery center.",
"alias" : ["Municpality"],
"min" : 0,
"max" : "1",
"base" : {
"path" : "Address.city",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"example" : [{
"label" : "General",
"valueString" : "Erewhon"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "XAD.3"
},
{
"identity" : "rim",
"map" : "AD.part[parttype = CTY]"
},
{
"identity" : "vcard",
"map" : "locality"
},
{
"identity" : "servd",
"map" : "./Jurisdiction"
}]
},
{
"id" : "Address.district",
"path" : "Address.district",
"short" : "District name (aka county)",
"definition" : "The name of the administrative area (county).",
"comment" : "District is sometimes known as county, but in some regions 'county' is used in place of city (municipality), so county name should be conveyed in city instead.",
"alias" : ["County"],
"min" : 0,
"max" : "1",
"base" : {
"path" : "Address.district",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"example" : [{
"label" : "General",
"valueString" : "Madison"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "XAD.9"
},
{
"identity" : "rim",
"map" : "AD.part[parttype = CNT | CPA]"
}]
},
{
"id" : "Address.state",
"path" : "Address.state",
"short" : "Sub-unit of country (abbreviations ok)",
"definition" : "Sub-unit of a country with limited sovereignty in a federally organized country. A code may be used if codes are in common use (e.g. US 2 letter state codes).",
"alias" : ["Province",
"Territory"],
"min" : 0,
"max" : "1",
"base" : {
"path" : "Address.state",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "XAD.4"
},
{
"identity" : "rim",
"map" : "AD.part[parttype = STA]"
},
{
"identity" : "vcard",
"map" : "region"
},
{
"identity" : "servd",
"map" : "./Region"
}]
},
{
"id" : "Address.postalCode",
"path" : "Address.postalCode",
"short" : "Postal code for area",
"definition" : "A postal code designating a region defined by the postal service.",
"alias" : ["Zip"],
"min" : 0,
"max" : "1",
"base" : {
"path" : "Address.postalCode",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"example" : [{
"label" : "General",
"valueString" : "9132"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "XAD.5"
},
{
"identity" : "rim",
"map" : "AD.part[parttype = ZIP]"
},
{
"identity" : "vcard",
"map" : "code"
},
{
"identity" : "servd",
"map" : "./PostalIdentificationCode"
}]
},
{
"id" : "Address.country",
"path" : "Address.country",
"short" : "Country (e.g. can be ISO 3166 2 or 3 letter code)",
"definition" : "Country - a nation as commonly understood or generally accepted.",
"comment" : "ISO 3166 3 letter codes can be used in place of a human readable country name.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Address.country",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "XAD.6"
},
{
"identity" : "rim",
"map" : "AD.part[parttype = CNT]"
},
{
"identity" : "vcard",
"map" : "country"
},
{
"identity" : "servd",
"map" : "./Country"
}]
},
{
"id" : "Address.period",
"path" : "Address.period",
"short" : "Time period when address was/is in use",
"definition" : "Time period when address was/is in use.",
"requirements" : "Allows addresses to be placed in historical context.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Address.period",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "Period"
}],
"example" : [{
"label" : "General",
"valuePeriod" : {
"start" : "2010-03-23",
"end" : "2010-07-01"
}
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "XAD.12 / XAD.13 + XAD.14"
},
{
"identity" : "rim",
"map" : "./usablePeriod[type=\"IVL\"]"
},
{
"identity" : "servd",
"map" : "./StartDate and ./EndDate"
}]
}]
},
"differential" : {
"element" : [{
"id" : "Address",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"path" : "Address",
"short" : "An address expressed using postal conventions (as opposed to GPS or other location definition formats)",
"definition" : "An address expressed using postal conventions (as opposed to GPS or other location definition formats). This data type may be used to convey addresses for use in delivering mail as well as for visiting locations which might not be valid for mail delivery. There are a variety of postal address formats defined around the world.",
"comment" : "Note: address is intended to describe postal addresses for administrative purposes, not to describe absolute geographical coordinates. Postal addresses are often used as proxies for physical locations (also see the [Location](location.html#) resource).",
"min" : 0,
"max" : "*",
"mapping" : [{
"identity" : "v2",
"map" : "XAD"
},
{
"identity" : "rim",
"map" : "AD"
},
{
"identity" : "servd",
"map" : "Address"
}]
},
{
"id" : "Address.use",
"path" : "Address.use",
"short" : "home | work | temp | old | billing - purpose of this address",
"definition" : "The purpose of this address.",
"comment" : "Applications can assume that an address is current unless it explicitly says that it is temporary or old.",
"requirements" : "Allows an appropriate address to be chosen from a list of many.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "code"
}],
"example" : [{
"label" : "General",
"valueCode" : "home"
}],
"isModifier" : true,
"isModifierReason" : "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old address etc.for a current/permanent one",
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "AddressUse"
}],
"strength" : "required",
"description" : "The use of an address.",
"valueSet" : "http://hl7.org/fhir/ValueSet/address-use|4.0.0"
},
"mapping" : [{
"identity" : "v2",
"map" : "XAD.7"
},
{
"identity" : "rim",
"map" : "unique(./use)"
},
{
"identity" : "servd",
"map" : "./AddressPurpose"
}]
},
{
"id" : "Address.type",
"path" : "Address.type",
"short" : "postal | physical | both",
"definition" : "Distinguishes between physical addresses (those you can visit) and mailing addresses (e.g. PO Boxes and care-of addresses). Most addresses are both.",
"comment" : "The definition of Address states that \"address is intended to describe postal addresses, not physical locations\". However, many applications track whether an address has a dual purpose of being a location that can be visited as well as being a valid delivery destination, and Postal addresses are often used as proxies for physical locations (also see the [Location](location.html#) resource).",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "code"
}],
"example" : [{
"label" : "General",
"valueCode" : "both"
}],
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "AddressType"
}],
"strength" : "required",
"description" : "The type of an address (physical / postal).",
"valueSet" : "http://hl7.org/fhir/ValueSet/address-type|4.0.0"
},
"mapping" : [{
"identity" : "v2",
"map" : "XAD.18"
},
{
"identity" : "rim",
"map" : "unique(./use)"
},
{
"identity" : "vcard",
"map" : "address type parameter"
}]
},
{
"id" : "Address.text",
"path" : "Address.text",
"short" : "Text representation of the address",
"definition" : "Specifies the entire address as it should be displayed e.g. on a postal label. This may be provided instead of or as well as the specific parts.",
"comment" : "Can provide both a text representation and parts. Applications updating an address SHALL ensure that when both text and parts are present, no content is included in the text that isn't found in a part.",
"requirements" : "A renderable, unencoded form.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "string"
}],
"example" : [{
"label" : "General",
"valueString" : "137 Nowhere Street, Erewhon 9132"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "XAD.1 + XAD.2 + XAD.3 + XAD.4 + XAD.5 + XAD.6"
},
{
"identity" : "rim",
"map" : "./formatted"
},
{
"identity" : "vcard",
"map" : "address label parameter"
}]
},
{
"id" : "Address.line",
"path" : "Address.line",
"short" : "Street name, number, direction & P.O. Box etc.",
"definition" : "This component contains the house number, apartment number, street name, street direction, P.O. Box number, delivery hints, and similar address information.",
"min" : 0,
"max" : "*",
"type" : [{
"code" : "string"
}],
"orderMeaning" : "The order in which lines should appear in an address label",
"example" : [{
"label" : "General",
"valueString" : "137 Nowhere Street"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "XAD.1 + XAD.2 (note: XAD.1 and XAD.2 have different meanings for a company address than for a person address)"
},
{
"identity" : "rim",
"map" : "AD.part[parttype = AL]"
},
{
"identity" : "vcard",
"map" : "street"
},
{
"identity" : "servd",
"map" : "./StreetAddress (newline delimitted)"
}]
},
{
"id" : "Address.city",
"path" : "Address.city",
"short" : "Name of city, town etc.",
"definition" : "The name of the city, town, suburb, village or other community or delivery center.",
"alias" : ["Municpality"],
"min" : 0,
"max" : "1",
"type" : [{
"code" : "string"
}],
"example" : [{
"label" : "General",
"valueString" : "Erewhon"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "XAD.3"
},
{
"identity" : "rim",
"map" : "AD.part[parttype = CTY]"
},
{
"identity" : "vcard",
"map" : "locality"
},
{
"identity" : "servd",
"map" : "./Jurisdiction"
}]
},
{
"id" : "Address.district",
"path" : "Address.district",
"short" : "District name (aka county)",
"definition" : "The name of the administrative area (county).",
"comment" : "District is sometimes known as county, but in some regions 'county' is used in place of city (municipality), so county name should be conveyed in city instead.",
"alias" : ["County"],
"min" : 0,
"max" : "1",
"type" : [{
"code" : "string"
}],
"example" : [{
"label" : "General",
"valueString" : "Madison"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "XAD.9"
},
{
"identity" : "rim",
"map" : "AD.part[parttype = CNT | CPA]"
}]
},
{
"id" : "Address.state",
"path" : "Address.state",
"short" : "Sub-unit of country (abbreviations ok)",
"definition" : "Sub-unit of a country with limited sovereignty in a federally organized country. A code may be used if codes are in common use (e.g. US 2 letter state codes).",
"alias" : ["Province",
"Territory"],
"min" : 0,
"max" : "1",
"type" : [{
"code" : "string"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "XAD.4"
},
{
"identity" : "rim",
"map" : "AD.part[parttype = STA]"
},
{
"identity" : "vcard",
"map" : "region"
},
{
"identity" : "servd",
"map" : "./Region"
}]
},
{
"id" : "Address.postalCode",
"path" : "Address.postalCode",
"short" : "Postal code for area",
"definition" : "A postal code designating a region defined by the postal service.",
"alias" : ["Zip"],
"min" : 0,
"max" : "1",
"type" : [{
"code" : "string"
}],
"example" : [{
"label" : "General",
"valueString" : "9132"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "XAD.5"
},
{
"identity" : "rim",
"map" : "AD.part[parttype = ZIP]"
},
{
"identity" : "vcard",
"map" : "code"
},
{
"identity" : "servd",
"map" : "./PostalIdentificationCode"
}]
},
{
"id" : "Address.country",
"path" : "Address.country",
"short" : "Country (e.g. can be ISO 3166 2 or 3 letter code)",
"definition" : "Country - a nation as commonly understood or generally accepted.",
"comment" : "ISO 3166 3 letter codes can be used in place of a human readable country name.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "string"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "XAD.6"
},
{
"identity" : "rim",
"map" : "AD.part[parttype = CNT]"
},
{
"identity" : "vcard",
"map" : "country"
},
{
"identity" : "servd",
"map" : "./Country"
}]
},
{
"id" : "Address.period",
"path" : "Address.period",
"short" : "Time period when address was/is in use",
"definition" : "Time period when address was/is in use.",
"requirements" : "Allows addresses to be placed in historical context.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "Period"
}],
"example" : [{
"label" : "General",
"valuePeriod" : {
"start" : "2010-03-23",
"end" : "2010-07-01"
}
}],
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "XAD.12 / XAD.13 + XAD.14"
},
{
"identity" : "rim",
"map" : "./usablePeriod[type=\"IVL\"]"
},
{
"identity" : "servd",
"map" : "./StartDate and ./EndDate"
}]
}]
}
}
},
{
"fullUrl" : "http://hl7.org/fhir/StructureDefinition/Age",
"resource" : {
"resourceType" : "StructureDefinition",
"id" : "Age",
"meta" : {
"lastUpdated" : "2018-12-27T22:37:54.724+11:00"
},
"text" : {
"status" : "generated",
"div" : "
A duration of time during which an organism (or a process) has existed Common UCUM Codes for Age (Extensible but limited to AllUCUMExpressionForTime) + Rule: There SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM. If value is present, it SHALL be positive. Elements defined in Ancestors: id, extension, value, comparator, unit, system, code
"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "trial-use"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/Age",
"version" : "4.0.0",
"name" : "Age",
"status" : "draft",
"date" : "2018-12-27T22:37:54+11:00",
"publisher" : "HL7 FHIR Standard",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
}]
}],
"description" : "Base StructureDefinition for Age Type: A duration of time during which an organism (or a process) has existed.",
"fhirVersion" : "4.0.0",
"mapping" : [{
"identity" : "rim",
"uri" : "http://hl7.org/v3",
"name" : "RIM Mapping"
},
{
"identity" : "v2",
"uri" : "http://hl7.org/v2",
"name" : "HL7 v2 Mapping"
}],
"kind" : "complex-type",
"abstract" : false,
"type" : "Age",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Quantity",
"derivation" : "specialization",
"snapshot" : {
"element" : [{
"id" : "Age",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "trial-use"
}],
"path" : "Age",
"short" : "A duration of time during which an organism (or a process) has existed",
"definition" : "A duration of time during which an organism (or a process) has existed.",
"comment" : "The context of use may frequently define what kind of quantity this is and therefore what kind of units can be used. The context of use may also restrict the values for the comparator.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "Age",
"min" : 0,
"max" : "*"
},
"constraint" : [{
"key" : "qty-3",
"severity" : "error",
"human" : "If a code for the unit is present, the system SHALL also be present",
"expression" : "code.empty() or system.exists()",
"xpath" : "not(exists(f:code)) or exists(f:system)",
"source" : "Quantity"
},
{
"key" : "age-1",
"severity" : "error",
"human" : "There SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM. If value is present, it SHALL be positive.",
"expression" : "(code.exists() or value.empty()) and (system.empty() or system = %ucum) and (value.empty() or value.hasValue().not() or value > 0)",
"xpath" : "(f:code or not(f:value)) and (not(exists(f:system)) or f:system/@value='http://unitsofmeasure.org') and (not(f:value/@value) or f:value/@value >=0)"
}],
"isModifier" : false,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
"valueCanonical" : "http://hl7.org/fhir/ValueSet/all-time-units"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "AgeUnits"
}],
"strength" : "extensible",
"description" : "Appropriate units for Age.",
"valueSet" : "http://hl7.org/fhir/ValueSet/age-units"
},
"mapping" : [{
"identity" : "v2",
"map" : "SN (see also Range) or CQ"
},
{
"identity" : "rim",
"map" : "PQ, IVL, MO, CO, depending on the values"
},
{
"identity" : "rim",
"map" : "PQ"
}]
},
{
"id" : "Age.id",
"path" : "Age.id",
"representation" : ["xmlAttr"],
"short" : "Unique id for inter-element referencing",
"definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "Age.extension",
"path" : "Age.extension",
"slicing" : {
"discriminator" : [{
"type" : "value",
"path" : "url"
}],
"description" : "Extensions are always sliced by (at least) url",
"rules" : "open"
},
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "Age.value",
"path" : "Age.value",
"short" : "Numerical value (with implicit precision)",
"definition" : "The value of the measured amount. The value includes an implicit precision in the presentation of the value.",
"comment" : "The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).",
"requirements" : "Precision is handled implicitly in almost all cases of measurement.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Quantity.value",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "decimal"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "SN.2 / CQ - N/A"
},
{
"identity" : "rim",
"map" : "PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value"
}]
},
{
"id" : "Age.comparator",
"path" : "Age.comparator",
"short" : "< | <= | >= | > - how to understand the value",
"definition" : "How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \"<\" , then the real value is < stated value.",
"requirements" : "Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Quantity.comparator",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "code"
}],
"meaningWhenMissing" : "If there is no comparator, then there is no modification of the value",
"isModifier" : true,
"isModifierReason" : "This is labeled as \"Is Modifier\" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value",
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "QuantityComparator"
}],
"strength" : "required",
"description" : "How the Quantity should be understood and represented.",
"valueSet" : "http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.0"
},
"mapping" : [{
"identity" : "v2",
"map" : "SN.1 / CQ.1"
},
{
"identity" : "rim",
"map" : "IVL properties"
}]
},
{
"id" : "Age.unit",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean" : true
}],
"path" : "Age.unit",
"short" : "Unit representation",
"definition" : "A human-readable form of the unit.",
"requirements" : "There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Quantity.unit",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "(see OBX.6 etc.) / CQ.2"
},
{
"identity" : "rim",
"map" : "PQ.unit"
}]
},
{
"id" : "Age.system",
"path" : "Age.system",
"short" : "System that defines coded unit form",
"definition" : "The identification of the system that provides the coded form of the unit.",
"requirements" : "Need to know the system that defines the coded form of the unit.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Quantity.system",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "uri"
}],
"condition" : ["qty-3"],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "(see OBX.6 etc.) / CQ.2"
},
{
"identity" : "rim",
"map" : "CO.codeSystem, PQ.translation.codeSystem"
}]
},
{
"id" : "Age.code",
"path" : "Age.code",
"short" : "Coded form of the unit",
"definition" : "A computer processable form of the unit in some unit representation system.",
"comment" : "The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system.",
"requirements" : "Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Quantity.code",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "code"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "(see OBX.6 etc.) / CQ.2"
},
{
"identity" : "rim",
"map" : "PQ.code, MO.currency, PQ.translation.code"
}]
}]
},
"differential" : {
"element" : [{
"id" : "Age",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "trial-use"
}],
"path" : "Age",
"short" : "A duration of time during which an organism (or a process) has existed",
"definition" : "A duration of time during which an organism (or a process) has existed.",
"min" : 0,
"max" : "*",
"constraint" : [{
"key" : "age-1",
"severity" : "error",
"human" : "There SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM. If value is present, it SHALL be positive.",
"expression" : "(code.exists() or value.empty()) and (system.empty() or system = %ucum) and (value.empty() or value.hasValue().not() or value > 0)",
"xpath" : "(f:code or not(f:value)) and (not(exists(f:system)) or f:system/@value='http://unitsofmeasure.org') and (not(f:value/@value) or f:value/@value >=0)"
}],
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
"valueCanonical" : "http://hl7.org/fhir/ValueSet/all-time-units"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "AgeUnits"
}],
"strength" : "extensible",
"description" : "Appropriate units for Age.",
"valueSet" : "http://hl7.org/fhir/ValueSet/age-units"
},
"mapping" : [{
"identity" : "rim",
"map" : "PQ"
}]
}]
}
}
},
{
"fullUrl" : "http://hl7.org/fhir/StructureDefinition/Annotation",
"resource" : {
"resourceType" : "StructureDefinition",
"id" : "Annotation",
"meta" : {
"lastUpdated" : "2018-12-27T22:37:54.724+11:00"
},
"text" : {
"status" : "generated",
"div" : "
"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/Annotation",
"version" : "4.0.0",
"name" : "Annotation",
"status" : "active",
"date" : "2018-12-27T22:37:54+11:00",
"publisher" : "HL7 FHIR Standard",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
}]
}],
"description" : "Base StructureDefinition for Annotation Type: A text note which also contains information about who made the statement and when.",
"fhirVersion" : "4.0.0",
"mapping" : [{
"identity" : "v2",
"uri" : "http://hl7.org/v2",
"name" : "HL7 v2 Mapping"
},
{
"identity" : "rim",
"uri" : "http://hl7.org/v3",
"name" : "RIM Mapping"
}],
"kind" : "complex-type",
"abstract" : false,
"type" : "Annotation",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Element",
"derivation" : "specialization",
"snapshot" : {
"element" : [{
"id" : "Annotation",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"path" : "Annotation",
"short" : "Text node with attribution",
"definition" : "A text note which also contains information about who made the statement and when.",
"comment" : "For systems that do not have structured annotations, they can simply communicate a single annotation with no author or time. This element may need to be included in narrative because of the potential for modifying information. *Annotations SHOULD NOT* be used to communicate \"modifying\" information that could be computable. (This is a SHOULD because enforcing user behavior is nearly impossible).",
"min" : 0,
"max" : "*",
"base" : {
"path" : "Annotation",
"min" : 0,
"max" : "*"
},
"condition" : ["ele-1"],
"constraint" : [{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() or (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "Element"
}],
"isModifier" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
},
{
"identity" : "v2",
"map" : "N/A"
},
{
"identity" : "rim",
"map" : "Act"
}]
},
{
"id" : "Annotation.id",
"path" : "Annotation.id",
"representation" : ["xmlAttr"],
"short" : "Unique id for inter-element referencing",
"definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "Annotation.extension",
"path" : "Annotation.extension",
"slicing" : {
"discriminator" : [{
"type" : "value",
"path" : "url"
}],
"description" : "Extensions are always sliced by (at least) url",
"rules" : "open"
},
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "Annotation.author[x]",
"path" : "Annotation.author[x]",
"short" : "Individual responsible for the annotation",
"definition" : "The individual responsible for making the annotation.",
"comment" : "Organization is used when there's no need for specific attribution as to who made the comment.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Annotation.author[x]",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "Reference",
"targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Practitioner",
"http://hl7.org/fhir/StructureDefinition/Patient",
"http://hl7.org/fhir/StructureDefinition/RelatedPerson",
"http://hl7.org/fhir/StructureDefinition/Organization"]
},
{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "N/A"
},
{
"identity" : "rim",
"map" : "Act.participant[typeCode=AUT].role"
}]
},
{
"id" : "Annotation.time",
"path" : "Annotation.time",
"short" : "When the annotation was made",
"definition" : "Indicates when this particular annotation was made.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Annotation.time",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "dateTime"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "N/A"
},
{
"identity" : "rim",
"map" : "Act.effectiveTime"
}]
},
{
"id" : "Annotation.text",
"path" : "Annotation.text",
"short" : "The annotation - text content (as markdown)",
"definition" : "The text of the annotation in markdown format.",
"min" : 1,
"max" : "1",
"base" : {
"path" : "Annotation.text",
"min" : 1,
"max" : "1"
},
"type" : [{
"code" : "markdown"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "N/A"
},
{
"identity" : "rim",
"map" : "Act.text"
}]
}]
},
"differential" : {
"element" : [{
"id" : "Annotation",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"path" : "Annotation",
"short" : "Text node with attribution",
"definition" : "A text note which also contains information about who made the statement and when.",
"comment" : "For systems that do not have structured annotations, they can simply communicate a single annotation with no author or time. This element may need to be included in narrative because of the potential for modifying information. *Annotations SHOULD NOT* be used to communicate \"modifying\" information that could be computable. (This is a SHOULD because enforcing user behavior is nearly impossible).",
"min" : 0,
"max" : "*",
"mapping" : [{
"identity" : "v2",
"map" : "N/A"
},
{
"identity" : "rim",
"map" : "Act"
}]
},
{
"id" : "Annotation.author[x]",
"path" : "Annotation.author[x]",
"short" : "Individual responsible for the annotation",
"definition" : "The individual responsible for making the annotation.",
"comment" : "Organization is used when there's no need for specific attribution as to who made the comment.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "Reference",
"targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Practitioner",
"http://hl7.org/fhir/StructureDefinition/Patient",
"http://hl7.org/fhir/StructureDefinition/RelatedPerson",
"http://hl7.org/fhir/StructureDefinition/Organization"]
},
{
"code" : "string"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "N/A"
},
{
"identity" : "rim",
"map" : "Act.participant[typeCode=AUT].role"
}]
},
{
"id" : "Annotation.time",
"path" : "Annotation.time",
"short" : "When the annotation was made",
"definition" : "Indicates when this particular annotation was made.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "dateTime"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "N/A"
},
{
"identity" : "rim",
"map" : "Act.effectiveTime"
}]
},
{
"id" : "Annotation.text",
"path" : "Annotation.text",
"short" : "The annotation - text content (as markdown)",
"definition" : "The text of the annotation in markdown format.",
"min" : 1,
"max" : "1",
"type" : [{
"code" : "markdown"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "N/A"
},
{
"identity" : "rim",
"map" : "Act.text"
}]
}]
}
}
},
{
"fullUrl" : "http://hl7.org/fhir/StructureDefinition/Attachment",
"resource" : {
"resourceType" : "StructureDefinition",
"id" : "Attachment",
"meta" : {
"lastUpdated" : "2018-12-27T22:37:54.724+11:00"
},
"text" : {
"status" : "generated",
"div" : "
"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/Attachment",
"version" : "4.0.0",
"name" : "Attachment",
"status" : "active",
"date" : "2018-12-27T22:37:54+11:00",
"publisher" : "HL7 FHIR Standard",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
}]
}],
"description" : "Base StructureDefinition for Attachment Type: For referring to data content defined in other formats.",
"purpose" : "Many models need to include data defined in other specifications that is complex and opaque to the healthcare model. This includes documents, media recordings, structured data, etc.",
"fhirVersion" : "4.0.0",
"mapping" : [{
"identity" : "v2",
"uri" : "http://hl7.org/v2",
"name" : "HL7 v2 Mapping"
},
{
"identity" : "rim",
"uri" : "http://hl7.org/v3",
"name" : "RIM Mapping"
}],
"kind" : "complex-type",
"abstract" : false,
"type" : "Attachment",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Element",
"derivation" : "specialization",
"snapshot" : {
"element" : [{
"id" : "Attachment",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"path" : "Attachment",
"short" : "Content in a format defined elsewhere",
"definition" : "For referring to data content defined in other formats.",
"comment" : "When providing a summary view (for example with Observation.value[x]) Attachment should be represented with a brief display text such as \"Signed Procedure Consent\".",
"min" : 0,
"max" : "*",
"base" : {
"path" : "Attachment",
"min" : 0,
"max" : "*"
},
"condition" : ["ele-1"],
"constraint" : [{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() or (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "Element"
},
{
"key" : "att-1",
"severity" : "error",
"human" : "If the Attachment has data, it SHALL have a contentType",
"expression" : "data.empty() or contentType.exists()",
"xpath" : "not(exists(f:data)) or exists(f:contentType)"
}],
"isModifier" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
},
{
"identity" : "v2",
"map" : "ED/RP"
},
{
"identity" : "rim",
"map" : "ED"
}]
},
{
"id" : "Attachment.id",
"path" : "Attachment.id",
"representation" : ["xmlAttr"],
"short" : "Unique id for inter-element referencing",
"definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "Attachment.extension",
"path" : "Attachment.extension",
"slicing" : {
"discriminator" : [{
"type" : "value",
"path" : "url"
}],
"description" : "Extensions are always sliced by (at least) url",
"rules" : "open"
},
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "Attachment.contentType",
"path" : "Attachment.contentType",
"short" : "Mime type of the content, with charset etc.",
"definition" : "Identifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data. Includes mime type parameters such as charset where appropriate.",
"requirements" : "Processors of the data need to be able to know how to interpret the data.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Attachment.contentType",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "code"
}],
"example" : [{
"label" : "General",
"valueCode" : "text/plain; charset=UTF-8, image/png"
}],
"isModifier" : false,
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "MimeType"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
"valueBoolean" : true
}],
"strength" : "required",
"description" : "The mime type of an attachment. Any valid mime type is allowed.",
"valueSet" : "http://hl7.org/fhir/ValueSet/mimetypes|4.0.0"
},
"mapping" : [{
"identity" : "v2",
"map" : "ED.2+ED.3/RP.2+RP.3. Note conversion may be needed if old style values are being used"
},
{
"identity" : "rim",
"map" : "./mediaType, ./charset"
}]
},
{
"id" : "Attachment.language",
"path" : "Attachment.language",
"short" : "Human language of the content (BCP-47)",
"definition" : "The human language of the content. The value can be any valid value according to BCP 47.",
"requirements" : "Users need to be able to choose between the languages in a set of attachments.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Attachment.language",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "code"
}],
"example" : [{
"label" : "General",
"valueCode" : "en-AU"
}],
"isModifier" : false,
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
"valueCanonical" : "http://hl7.org/fhir/ValueSet/all-languages"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "Language"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
"valueBoolean" : true
}],
"strength" : "preferred",
"description" : "A human language.",
"valueSet" : "http://hl7.org/fhir/ValueSet/languages"
},
"mapping" : [{
"identity" : "rim",
"map" : "./language"
}]
},
{
"id" : "Attachment.data",
"path" : "Attachment.data",
"short" : "Data inline, base64ed",
"definition" : "The actual data of the attachment - a sequence of bytes, base64 encoded.",
"comment" : "The base64-encoded data SHALL be expressed in the same character set as the base resource XML or JSON.",
"requirements" : "The data needs to able to be transmitted inline.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Attachment.data",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "base64Binary"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "v2",
"map" : "ED.5"
},
{
"identity" : "rim",
"map" : "./data"
}]
},
{
"id" : "Attachment.url",
"path" : "Attachment.url",
"short" : "Uri where the data can be found",
"definition" : "A location where the data can be accessed.",
"comment" : "If both data and url are provided, the url SHALL point to the same content as the data contains. Urls may be relative references or may reference transient locations such as a wrapping envelope using cid: though this has ramifications for using signatures. Relative URLs are interpreted relative to the service url, like a resource reference, rather than relative to the resource itself. If a URL is provided, it SHALL resolve to actual data.",
"requirements" : "The data needs to be transmitted by reference.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Attachment.url",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "url"
}],
"example" : [{
"label" : "General",
"valueUrl" : "http://www.acme.com/logo-small.png"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "RP.1+RP.2 - if they refer to a URL (see v2.6)"
},
{
"identity" : "rim",
"map" : "./reference/literal"
}]
},
{
"id" : "Attachment.size",
"path" : "Attachment.size",
"short" : "Number of bytes of content (if url provided)",
"definition" : "The number of bytes of data that make up this attachment (before base64 encoding, if that is done).",
"comment" : "The number of bytes is redundant if the data is provided as a base64binary, but is useful if the data is provided as a url reference.",
"requirements" : "Representing the size allows applications to determine whether they should fetch the content automatically in advance, or refuse to fetch it at all.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Attachment.size",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "unsignedInt"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (needs data type R3 proposal)"
}]
},
{
"id" : "Attachment.hash",
"path" : "Attachment.hash",
"short" : "Hash of the data (sha-1, base64ed)",
"definition" : "The calculated hash of the data using SHA-1. Represented using base64.",
"comment" : "The hash is calculated on the data prior to base64 encoding, if the data is based64 encoded. The hash is not intended to support digital signatures. Where protection against malicious threats a digital signature should be considered, see [Provenance.signature](provenance-definitions.html#Provenance.signature) for mechanism to protect a resource with a digital signature.",
"requirements" : "Included so that applications can verify that the contents of a location have not changed due to technical failures (e.g., storage rot, transport glitch, incorrect version).",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Attachment.hash",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "base64Binary"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : ".integrityCheck[parent::ED/integrityCheckAlgorithm=\"SHA-1\"]"
}]
},
{
"id" : "Attachment.title",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean" : true
}],
"path" : "Attachment.title",
"short" : "Label to display in place of the data",
"definition" : "A label or set of text to display in place of the data.",
"requirements" : "Applications need a label to display to a human user in place of the actual data if the data cannot be rendered or perceived by the viewer.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Attachment.title",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"example" : [{
"label" : "General",
"valueString" : "Official Corporate Logo"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "./title/data"
}]
},
{
"id" : "Attachment.creation",
"path" : "Attachment.creation",
"short" : "Date attachment was first created",
"definition" : "The date that the attachment was first created.",
"requirements" : "This is often tracked as an integrity issue for use of the attachment.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Attachment.creation",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "dateTime"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (needs data type R3 proposal)"
}]
}]
},
"differential" : {
"element" : [{
"id" : "Attachment",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"path" : "Attachment",
"short" : "Content in a format defined elsewhere",
"definition" : "For referring to data content defined in other formats.",
"comment" : "When providing a summary view (for example with Observation.value[x]) Attachment should be represented with a brief display text such as \"Signed Procedure Consent\".",
"min" : 0,
"max" : "*",
"constraint" : [{
"key" : "att-1",
"severity" : "error",
"human" : "If the Attachment has data, it SHALL have a contentType",
"expression" : "data.empty() or contentType.exists()",
"xpath" : "not(exists(f:data)) or exists(f:contentType)"
}],
"mapping" : [{
"identity" : "v2",
"map" : "ED/RP"
},
{
"identity" : "rim",
"map" : "ED"
}]
},
{
"id" : "Attachment.contentType",
"path" : "Attachment.contentType",
"short" : "Mime type of the content, with charset etc.",
"definition" : "Identifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data. Includes mime type parameters such as charset where appropriate.",
"requirements" : "Processors of the data need to be able to know how to interpret the data.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "code"
}],
"example" : [{
"label" : "General",
"valueCode" : "text/plain; charset=UTF-8, image/png"
}],
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "MimeType"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
"valueBoolean" : true
}],
"strength" : "required",
"description" : "The mime type of an attachment. Any valid mime type is allowed.",
"valueSet" : "http://hl7.org/fhir/ValueSet/mimetypes|4.0.0"
},
"mapping" : [{
"identity" : "v2",
"map" : "ED.2+ED.3/RP.2+RP.3. Note conversion may be needed if old style values are being used"
},
{
"identity" : "rim",
"map" : "./mediaType, ./charset"
}]
},
{
"id" : "Attachment.language",
"path" : "Attachment.language",
"short" : "Human language of the content (BCP-47)",
"definition" : "The human language of the content. The value can be any valid value according to BCP 47.",
"requirements" : "Users need to be able to choose between the languages in a set of attachments.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "code"
}],
"example" : [{
"label" : "General",
"valueCode" : "en-AU"
}],
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
"valueCanonical" : "http://hl7.org/fhir/ValueSet/all-languages"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "Language"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
"valueBoolean" : true
}],
"strength" : "preferred",
"description" : "A human language.",
"valueSet" : "http://hl7.org/fhir/ValueSet/languages"
},
"mapping" : [{
"identity" : "rim",
"map" : "./language"
}]
},
{
"id" : "Attachment.data",
"path" : "Attachment.data",
"short" : "Data inline, base64ed",
"definition" : "The actual data of the attachment - a sequence of bytes, base64 encoded.",
"comment" : "The base64-encoded data SHALL be expressed in the same character set as the base resource XML or JSON.",
"requirements" : "The data needs to able to be transmitted inline.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "base64Binary"
}],
"mapping" : [{
"identity" : "v2",
"map" : "ED.5"
},
{
"identity" : "rim",
"map" : "./data"
}]
},
{
"id" : "Attachment.url",
"path" : "Attachment.url",
"short" : "Uri where the data can be found",
"definition" : "A location where the data can be accessed.",
"comment" : "If both data and url are provided, the url SHALL point to the same content as the data contains. Urls may be relative references or may reference transient locations such as a wrapping envelope using cid: though this has ramifications for using signatures. Relative URLs are interpreted relative to the service url, like a resource reference, rather than relative to the resource itself. If a URL is provided, it SHALL resolve to actual data.",
"requirements" : "The data needs to be transmitted by reference.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "url"
}],
"example" : [{
"label" : "General",
"valueUrl" : "http://www.acme.com/logo-small.png"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "RP.1+RP.2 - if they refer to a URL (see v2.6)"
},
{
"identity" : "rim",
"map" : "./reference/literal"
}]
},
{
"id" : "Attachment.size",
"path" : "Attachment.size",
"short" : "Number of bytes of content (if url provided)",
"definition" : "The number of bytes of data that make up this attachment (before base64 encoding, if that is done).",
"comment" : "The number of bytes is redundant if the data is provided as a base64binary, but is useful if the data is provided as a url reference.",
"requirements" : "Representing the size allows applications to determine whether they should fetch the content automatically in advance, or refuse to fetch it at all.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "unsignedInt"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (needs data type R3 proposal)"
}]
},
{
"id" : "Attachment.hash",
"path" : "Attachment.hash",
"short" : "Hash of the data (sha-1, base64ed)",
"definition" : "The calculated hash of the data using SHA-1. Represented using base64.",
"comment" : "The hash is calculated on the data prior to base64 encoding, if the data is based64 encoded. The hash is not intended to support digital signatures. Where protection against malicious threats a digital signature should be considered, see [Provenance.signature](provenance-definitions.html#Provenance.signature) for mechanism to protect a resource with a digital signature.",
"requirements" : "Included so that applications can verify that the contents of a location have not changed due to technical failures (e.g., storage rot, transport glitch, incorrect version).",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "base64Binary"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : ".integrityCheck[parent::ED/integrityCheckAlgorithm=\"SHA-1\"]"
}]
},
{
"id" : "Attachment.title",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean" : true
}],
"path" : "Attachment.title",
"short" : "Label to display in place of the data",
"definition" : "A label or set of text to display in place of the data.",
"requirements" : "Applications need a label to display to a human user in place of the actual data if the data cannot be rendered or perceived by the viewer.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "string"
}],
"example" : [{
"label" : "General",
"valueString" : "Official Corporate Logo"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "./title/data"
}]
},
{
"id" : "Attachment.creation",
"path" : "Attachment.creation",
"short" : "Date attachment was first created",
"definition" : "The date that the attachment was first created.",
"requirements" : "This is often tracked as an integrity issue for use of the attachment.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "dateTime"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (needs data type R3 proposal)"
}]
}]
}
}
},
{
"fullUrl" : "http://hl7.org/fhir/StructureDefinition/CodeableConcept",
"resource" : {
"resourceType" : "StructureDefinition",
"id" : "CodeableConcept",
"meta" : {
"lastUpdated" : "2018-12-27T22:37:54.724+11:00"
},
"text" : {
"status" : "generated",
"div" : "
"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/CodeableConcept",
"version" : "4.0.0",
"name" : "CodeableConcept",
"status" : "active",
"date" : "2018-12-27T22:37:54+11:00",
"publisher" : "HL7 FHIR Standard",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
}]
}],
"description" : "Base StructureDefinition for CodeableConcept Type: A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text.",
"purpose" : "This is a common pattern in healthcare - a concept that may be defined by one or more codes from formal definitions including LOINC and SNOMED CT, and/or defined by the provision of text that captures a human sense of the concept.",
"fhirVersion" : "4.0.0",
"mapping" : [{
"identity" : "v2",
"uri" : "http://hl7.org/v2",
"name" : "HL7 v2 Mapping"
},
{
"identity" : "rim",
"uri" : "http://hl7.org/v3",
"name" : "RIM Mapping"
},
{
"identity" : "orim",
"uri" : "http://hl7.org/orim",
"name" : "Ontological RIM Mapping"
}],
"kind" : "complex-type",
"abstract" : false,
"type" : "CodeableConcept",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Element",
"derivation" : "specialization",
"snapshot" : {
"element" : [{
"id" : "CodeableConcept",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"path" : "CodeableConcept",
"short" : "Concept - reference to a terminology or just text",
"definition" : "A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text.",
"comment" : "Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "CodeableConcept",
"min" : 0,
"max" : "*"
},
"condition" : ["ele-1"],
"constraint" : [{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() or (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "Element"
}],
"isModifier" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
},
{
"identity" : "v2",
"map" : "CE/CNE/CWE"
},
{
"identity" : "rim",
"map" : "CD"
},
{
"identity" : "orim",
"map" : "fhir:CodeableConcept rdfs:subClassOf dt:CD"
}]
},
{
"id" : "CodeableConcept.id",
"path" : "CodeableConcept.id",
"representation" : ["xmlAttr"],
"short" : "Unique id for inter-element referencing",
"definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "CodeableConcept.extension",
"path" : "CodeableConcept.extension",
"slicing" : {
"discriminator" : [{
"type" : "value",
"path" : "url"
}],
"description" : "Extensions are always sliced by (at least) url",
"rules" : "open"
},
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "CodeableConcept.coding",
"path" : "CodeableConcept.coding",
"short" : "Code defined by a terminology system",
"definition" : "A reference to a code defined by a terminology system.",
"comment" : "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.",
"requirements" : "Allows for alternative encodings within a code system, and translations to other code systems.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "CodeableConcept.coding",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Coding"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "C*E.1-8, C*E.10-22"
},
{
"identity" : "rim",
"map" : "union(., ./translation)"
},
{
"identity" : "orim",
"map" : "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"
}]
},
{
"id" : "CodeableConcept.text",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean" : true
}],
"path" : "CodeableConcept.text",
"short" : "Plain text representation of the concept",
"definition" : "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.",
"comment" : "Very often the text is the same as a displayName of one of the codings.",
"requirements" : "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "CodeableConcept.text",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "C*E.9. But note many systems use C*E.2 for this"
},
{
"identity" : "rim",
"map" : "./originalText[mediaType/code=\"text/plain\"]/data"
},
{
"identity" : "orim",
"map" : "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"
}]
}]
},
"differential" : {
"element" : [{
"id" : "CodeableConcept",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"path" : "CodeableConcept",
"short" : "Concept - reference to a terminology or just text",
"definition" : "A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text.",
"comment" : "Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.",
"min" : 0,
"max" : "*",
"mapping" : [{
"identity" : "v2",
"map" : "CE/CNE/CWE"
},
{
"identity" : "rim",
"map" : "CD"
},
{
"identity" : "orim",
"map" : "fhir:CodeableConcept rdfs:subClassOf dt:CD"
}]
},
{
"id" : "CodeableConcept.coding",
"path" : "CodeableConcept.coding",
"short" : "Code defined by a terminology system",
"definition" : "A reference to a code defined by a terminology system.",
"comment" : "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.",
"requirements" : "Allows for alternative encodings within a code system, and translations to other code systems.",
"min" : 0,
"max" : "*",
"type" : [{
"code" : "Coding"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "C*E.1-8, C*E.10-22"
},
{
"identity" : "rim",
"map" : "union(., ./translation)"
},
{
"identity" : "orim",
"map" : "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"
}]
},
{
"id" : "CodeableConcept.text",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean" : true
}],
"path" : "CodeableConcept.text",
"short" : "Plain text representation of the concept",
"definition" : "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.",
"comment" : "Very often the text is the same as a displayName of one of the codings.",
"requirements" : "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "string"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "C*E.9. But note many systems use C*E.2 for this"
},
{
"identity" : "rim",
"map" : "./originalText[mediaType/code=\"text/plain\"]/data"
},
{
"identity" : "orim",
"map" : "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"
}]
}]
}
}
},
{
"fullUrl" : "http://hl7.org/fhir/StructureDefinition/Coding",
"resource" : {
"resourceType" : "StructureDefinition",
"id" : "Coding",
"meta" : {
"lastUpdated" : "2018-12-27T22:37:54.724+11:00"
},
"text" : {
"status" : "generated",
"div" : "
"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/Coding",
"version" : "4.0.0",
"name" : "Coding",
"status" : "active",
"date" : "2018-12-27T22:37:54+11:00",
"publisher" : "HL7 FHIR Standard",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
}]
}],
"description" : "Base StructureDefinition for Coding Type: A reference to a code defined by a terminology system.",
"purpose" : "References to codes are very common in healthcare models.",
"fhirVersion" : "4.0.0",
"mapping" : [{
"identity" : "v2",
"uri" : "http://hl7.org/v2",
"name" : "HL7 v2 Mapping"
},
{
"identity" : "rim",
"uri" : "http://hl7.org/v3",
"name" : "RIM Mapping"
},
{
"identity" : "orim",
"uri" : "http://hl7.org/orim",
"name" : "Ontological RIM Mapping"
}],
"kind" : "complex-type",
"abstract" : false,
"type" : "Coding",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Element",
"derivation" : "specialization",
"snapshot" : {
"element" : [{
"id" : "Coding",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"path" : "Coding",
"short" : "A reference to a code defined by a terminology system",
"definition" : "A reference to a code defined by a terminology system.",
"comment" : "Codes may be defined very casually in enumerations or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "Coding",
"min" : 0,
"max" : "*"
},
"condition" : ["ele-1"],
"constraint" : [{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() or (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "Element"
}],
"isModifier" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
},
{
"identity" : "v2",
"map" : "CE/CNE/CWE subset one of the sets of component 1-3 or 4-6"
},
{
"identity" : "rim",
"map" : "CV"
},
{
"identity" : "orim",
"map" : "fhir:Coding rdfs:subClassOf dt:CDCoding"
}]
},
{
"id" : "Coding.id",
"path" : "Coding.id",
"representation" : ["xmlAttr"],
"short" : "Unique id for inter-element referencing",
"definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "Coding.extension",
"path" : "Coding.extension",
"slicing" : {
"discriminator" : [{
"type" : "value",
"path" : "url"
}],
"description" : "Extensions are always sliced by (at least) url",
"rules" : "open"
},
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "Coding.system",
"path" : "Coding.system",
"short" : "Identity of the terminology system",
"definition" : "The identification of the code system that defines the meaning of the symbol in the code.",
"comment" : "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.",
"requirements" : "Need to be unambiguous about the source of the definition of the symbol.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Coding.system",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "uri"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "C*E.3"
},
{
"identity" : "rim",
"map" : "./codeSystem"
},
{
"identity" : "orim",
"map" : "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
}]
},
{
"id" : "Coding.version",
"path" : "Coding.version",
"short" : "Version of the system - if relevant",
"definition" : "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
"comment" : "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Coding.version",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "C*E.7"
},
{
"identity" : "rim",
"map" : "./codeSystemVersion"
},
{
"identity" : "orim",
"map" : "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
}]
},
{
"id" : "Coding.code",
"path" : "Coding.code",
"short" : "Symbol in syntax defined by the system",
"definition" : "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
"requirements" : "Need to refer to a particular code in the system.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Coding.code",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "code"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "C*E.1"
},
{
"identity" : "rim",
"map" : "./code"
},
{
"identity" : "orim",
"map" : "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
}]
},
{
"id" : "Coding.display",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean" : true
}],
"path" : "Coding.display",
"short" : "Representation defined by the system",
"definition" : "A representation of the meaning of the code in the system, following the rules of the system.",
"requirements" : "Need to be able to carry a human-readable meaning of the code for readers that do not know the system.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Coding.display",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "C*E.2 - but note this is not well followed"
},
{
"identity" : "rim",
"map" : "CV.displayName"
},
{
"identity" : "orim",
"map" : "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
}]
},
{
"id" : "Coding.userSelected",
"path" : "Coding.userSelected",
"short" : "If this coding was chosen directly by the user",
"definition" : "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).",
"comment" : "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
"requirements" : "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Coding.userSelected",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "boolean"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "Sometimes implied by being first"
},
{
"identity" : "rim",
"map" : "CD.codingRationale"
},
{
"identity" : "orim",
"map" : "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [ fhir:source \"true\"; fhir:target dt:CDCoding.codingRationale\\#O ]"
}]
}]
},
"differential" : {
"element" : [{
"id" : "Coding",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"path" : "Coding",
"short" : "A reference to a code defined by a terminology system",
"definition" : "A reference to a code defined by a terminology system.",
"comment" : "Codes may be defined very casually in enumerations or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.",
"min" : 0,
"max" : "*",
"mapping" : [{
"identity" : "v2",
"map" : "CE/CNE/CWE subset one of the sets of component 1-3 or 4-6"
},
{
"identity" : "rim",
"map" : "CV"
},
{
"identity" : "orim",
"map" : "fhir:Coding rdfs:subClassOf dt:CDCoding"
}]
},
{
"id" : "Coding.system",
"path" : "Coding.system",
"short" : "Identity of the terminology system",
"definition" : "The identification of the code system that defines the meaning of the symbol in the code.",
"comment" : "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.",
"requirements" : "Need to be unambiguous about the source of the definition of the symbol.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "uri"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "C*E.3"
},
{
"identity" : "rim",
"map" : "./codeSystem"
},
{
"identity" : "orim",
"map" : "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
}]
},
{
"id" : "Coding.version",
"path" : "Coding.version",
"short" : "Version of the system - if relevant",
"definition" : "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
"comment" : "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "string"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "C*E.7"
},
{
"identity" : "rim",
"map" : "./codeSystemVersion"
},
{
"identity" : "orim",
"map" : "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
}]
},
{
"id" : "Coding.code",
"path" : "Coding.code",
"short" : "Symbol in syntax defined by the system",
"definition" : "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
"requirements" : "Need to refer to a particular code in the system.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "code"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "C*E.1"
},
{
"identity" : "rim",
"map" : "./code"
},
{
"identity" : "orim",
"map" : "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
}]
},
{
"id" : "Coding.display",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean" : true
}],
"path" : "Coding.display",
"short" : "Representation defined by the system",
"definition" : "A representation of the meaning of the code in the system, following the rules of the system.",
"requirements" : "Need to be able to carry a human-readable meaning of the code for readers that do not know the system.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "string"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "C*E.2 - but note this is not well followed"
},
{
"identity" : "rim",
"map" : "CV.displayName"
},
{
"identity" : "orim",
"map" : "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
}]
},
{
"id" : "Coding.userSelected",
"path" : "Coding.userSelected",
"short" : "If this coding was chosen directly by the user",
"definition" : "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).",
"comment" : "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
"requirements" : "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "boolean"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "Sometimes implied by being first"
},
{
"identity" : "rim",
"map" : "CD.codingRationale"
},
{
"identity" : "orim",
"map" : "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [ fhir:source \"true\"; fhir:target dt:CDCoding.codingRationale\\#O ]"
}]
}]
}
}
},
{
"fullUrl" : "http://hl7.org/fhir/StructureDefinition/ContactDetail",
"resource" : {
"resourceType" : "StructureDefinition",
"id" : "ContactDetail",
"meta" : {
"lastUpdated" : "2018-12-27T22:37:54.724+11:00"
},
"text" : {
"status" : "generated",
"div" : "
"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/ContactDetail",
"version" : "4.0.0",
"name" : "ContactDetail",
"status" : "active",
"date" : "2018-12-27T22:37:54+11:00",
"publisher" : "HL7 FHIR Standard",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
}]
}],
"description" : "Base StructureDefinition for ContactDetail Type: Specifies contact information for a person or organization.",
"purpose" : "Need to track contact information in the same way across multiple resources.",
"fhirVersion" : "4.0.0",
"mapping" : [{
"identity" : "rim",
"uri" : "http://hl7.org/v3",
"name" : "RIM Mapping"
}],
"kind" : "complex-type",
"abstract" : false,
"type" : "ContactDetail",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Element",
"derivation" : "specialization",
"snapshot" : {
"element" : [{
"id" : "ContactDetail",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"path" : "ContactDetail",
"short" : "Contact information",
"definition" : "Specifies contact information for a person or organization.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "ContactDetail",
"min" : 0,
"max" : "*"
},
"condition" : ["ele-1"],
"constraint" : [{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() or (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "Element"
}],
"isModifier" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "ContactDetail.id",
"path" : "ContactDetail.id",
"representation" : ["xmlAttr"],
"short" : "Unique id for inter-element referencing",
"definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "ContactDetail.extension",
"path" : "ContactDetail.extension",
"slicing" : {
"discriminator" : [{
"type" : "value",
"path" : "url"
}],
"description" : "Extensions are always sliced by (at least) url",
"rules" : "open"
},
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "ContactDetail.name",
"path" : "ContactDetail.name",
"short" : "Name of an individual to contact",
"definition" : "The name of an individual to contact.",
"comment" : "If there is no named individual, the telecom information is for the organization as a whole.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "ContactDetail.name",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : true
},
{
"id" : "ContactDetail.telecom",
"path" : "ContactDetail.telecom",
"short" : "Contact details for individual or organization",
"definition" : "The contact details for the individual (if a name was provided) or the organization.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "ContactDetail.telecom",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "ContactPoint"
}],
"isModifier" : false,
"isSummary" : true
}]
},
"differential" : {
"element" : [{
"id" : "ContactDetail",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"path" : "ContactDetail",
"short" : "Contact information",
"definition" : "Specifies contact information for a person or organization.",
"min" : 0,
"max" : "*"
},
{
"id" : "ContactDetail.name",
"path" : "ContactDetail.name",
"short" : "Name of an individual to contact",
"definition" : "The name of an individual to contact.",
"comment" : "If there is no named individual, the telecom information is for the organization as a whole.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "string"
}],
"isSummary" : true
},
{
"id" : "ContactDetail.telecom",
"path" : "ContactDetail.telecom",
"short" : "Contact details for individual or organization",
"definition" : "The contact details for the individual (if a name was provided) or the organization.",
"min" : 0,
"max" : "*",
"type" : [{
"code" : "ContactPoint"
}],
"isSummary" : true
}]
}
}
},
{
"fullUrl" : "http://hl7.org/fhir/StructureDefinition/ContactPoint",
"resource" : {
"resourceType" : "StructureDefinition",
"id" : "ContactPoint",
"meta" : {
"lastUpdated" : "2018-12-27T22:37:54.724+11:00"
},
"text" : {
"status" : "generated",
"div" : "
Details of a Technology mediated contact point (phone, fax, email, etc.) + Rule: A system is required if a value is provided. Elements defined in Ancestors: id, extension
"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/ContactPoint",
"version" : "4.0.0",
"name" : "ContactPoint",
"status" : "active",
"date" : "2018-12-27T22:37:54+11:00",
"publisher" : "HL7 FHIR Standard",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
}]
}],
"description" : "Base StructureDefinition for ContactPoint Type: Details for all kinds of technology mediated contact points for a person or organization, including telephone, email, etc.",
"purpose" : "Need to track phone, fax, mobile, sms numbers, email addresses, twitter tags, etc.",
"fhirVersion" : "4.0.0",
"mapping" : [{
"identity" : "v2",
"uri" : "http://hl7.org/v2",
"name" : "HL7 v2 Mapping"
},
{
"identity" : "rim",
"uri" : "http://hl7.org/v3",
"name" : "RIM Mapping"
},
{
"identity" : "servd",
"uri" : "http://www.omg.org/spec/ServD/1.0/",
"name" : "ServD"
}],
"kind" : "complex-type",
"abstract" : false,
"type" : "ContactPoint",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Element",
"derivation" : "specialization",
"snapshot" : {
"element" : [{
"id" : "ContactPoint",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"path" : "ContactPoint",
"short" : "Details of a Technology mediated contact point (phone, fax, email, etc.)",
"definition" : "Details for all kinds of technology mediated contact points for a person or organization, including telephone, email, etc.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "ContactPoint",
"min" : 0,
"max" : "*"
},
"condition" : ["ele-1"],
"constraint" : [{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() or (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "Element"
},
{
"key" : "cpt-2",
"severity" : "error",
"human" : "A system is required if a value is provided.",
"expression" : "value.empty() or system.exists()",
"xpath" : "not(exists(f:value)) or exists(f:system)"
}],
"isModifier" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
},
{
"identity" : "v2",
"map" : "XTN"
},
{
"identity" : "rim",
"map" : "TEL"
},
{
"identity" : "servd",
"map" : "ContactPoint"
}]
},
{
"id" : "ContactPoint.id",
"path" : "ContactPoint.id",
"representation" : ["xmlAttr"],
"short" : "Unique id for inter-element referencing",
"definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "ContactPoint.extension",
"path" : "ContactPoint.extension",
"slicing" : {
"discriminator" : [{
"type" : "value",
"path" : "url"
}],
"description" : "Extensions are always sliced by (at least) url",
"rules" : "open"
},
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "ContactPoint.system",
"path" : "ContactPoint.system",
"short" : "phone | fax | email | pager | url | sms | other",
"definition" : "Telecommunications form for contact point - what communications system is required to make use of the contact.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "ContactPoint.system",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "code"
}],
"condition" : ["cpt-2"],
"isModifier" : false,
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "ContactPointSystem"
}],
"strength" : "required",
"description" : "Telecommunications form for contact point.",
"valueSet" : "http://hl7.org/fhir/ValueSet/contact-point-system|4.0.0"
},
"mapping" : [{
"identity" : "v2",
"map" : "XTN.3"
},
{
"identity" : "rim",
"map" : "./scheme"
},
{
"identity" : "servd",
"map" : "./ContactPointType"
}]
},
{
"id" : "ContactPoint.value",
"path" : "ContactPoint.value",
"short" : "The actual contact point details",
"definition" : "The actual contact point details, in a form that is meaningful to the designated communication system (i.e. phone number or email address).",
"comment" : "Additional text data such as phone extension numbers, or notes about use of the contact are sometimes included in the value.",
"requirements" : "Need to support legacy numbers that are not in a tightly controlled format.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "ContactPoint.value",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "XTN.1 (or XTN.12)"
},
{
"identity" : "rim",
"map" : "./url"
},
{
"identity" : "servd",
"map" : "./Value"
}]
},
{
"id" : "ContactPoint.use",
"path" : "ContactPoint.use",
"short" : "home | work | temp | old | mobile - purpose of this contact point",
"definition" : "Identifies the purpose for the contact point.",
"comment" : "Applications can assume that a contact is current unless it explicitly says that it is temporary or old.",
"requirements" : "Need to track the way a person uses this contact, so a user can choose which is appropriate for their purpose.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "ContactPoint.use",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "code"
}],
"isModifier" : true,
"isModifierReason" : "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old contact etc.for a current/permanent one",
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "ContactPointUse"
}],
"strength" : "required",
"description" : "Use of contact point.",
"valueSet" : "http://hl7.org/fhir/ValueSet/contact-point-use|4.0.0"
},
"mapping" : [{
"identity" : "v2",
"map" : "XTN.2 - but often indicated by field"
},
{
"identity" : "rim",
"map" : "unique(./use)"
},
{
"identity" : "servd",
"map" : "./ContactPointPurpose"
}]
},
{
"id" : "ContactPoint.rank",
"path" : "ContactPoint.rank",
"short" : "Specify preferred order of use (1 = highest)",
"definition" : "Specifies a preferred order in which to use a set of contacts. ContactPoints with lower rank values are more preferred than those with higher rank values.",
"comment" : "Note that rank does not necessarily follow the order in which the contacts are represented in the instance.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "ContactPoint.rank",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "positiveInt"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "n/a"
},
{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "ContactPoint.period",
"path" : "ContactPoint.period",
"short" : "Time period when the contact point was/is in use",
"definition" : "Time period when the contact point was/is in use.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "ContactPoint.period",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "Period"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "N/A"
},
{
"identity" : "rim",
"map" : "./usablePeriod[type=\"IVL\"]"
},
{
"identity" : "servd",
"map" : "./StartDate and ./EndDate"
}]
}]
},
"differential" : {
"element" : [{
"id" : "ContactPoint",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"path" : "ContactPoint",
"short" : "Details of a Technology mediated contact point (phone, fax, email, etc.)",
"definition" : "Details for all kinds of technology mediated contact points for a person or organization, including telephone, email, etc.",
"min" : 0,
"max" : "*",
"constraint" : [{
"key" : "cpt-2",
"severity" : "error",
"human" : "A system is required if a value is provided.",
"expression" : "value.empty() or system.exists()",
"xpath" : "not(exists(f:value)) or exists(f:system)"
}],
"mapping" : [{
"identity" : "v2",
"map" : "XTN"
},
{
"identity" : "rim",
"map" : "TEL"
},
{
"identity" : "servd",
"map" : "ContactPoint"
}]
},
{
"id" : "ContactPoint.system",
"path" : "ContactPoint.system",
"short" : "phone | fax | email | pager | url | sms | other",
"definition" : "Telecommunications form for contact point - what communications system is required to make use of the contact.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "code"
}],
"condition" : ["cpt-2"],
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "ContactPointSystem"
}],
"strength" : "required",
"description" : "Telecommunications form for contact point.",
"valueSet" : "http://hl7.org/fhir/ValueSet/contact-point-system|4.0.0"
},
"mapping" : [{
"identity" : "v2",
"map" : "XTN.3"
},
{
"identity" : "rim",
"map" : "./scheme"
},
{
"identity" : "servd",
"map" : "./ContactPointType"
}]
},
{
"id" : "ContactPoint.value",
"path" : "ContactPoint.value",
"short" : "The actual contact point details",
"definition" : "The actual contact point details, in a form that is meaningful to the designated communication system (i.e. phone number or email address).",
"comment" : "Additional text data such as phone extension numbers, or notes about use of the contact are sometimes included in the value.",
"requirements" : "Need to support legacy numbers that are not in a tightly controlled format.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "string"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "XTN.1 (or XTN.12)"
},
{
"identity" : "rim",
"map" : "./url"
},
{
"identity" : "servd",
"map" : "./Value"
}]
},
{
"id" : "ContactPoint.use",
"path" : "ContactPoint.use",
"short" : "home | work | temp | old | mobile - purpose of this contact point",
"definition" : "Identifies the purpose for the contact point.",
"comment" : "Applications can assume that a contact is current unless it explicitly says that it is temporary or old.",
"requirements" : "Need to track the way a person uses this contact, so a user can choose which is appropriate for their purpose.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "code"
}],
"isModifier" : true,
"isModifierReason" : "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old contact etc.for a current/permanent one",
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "ContactPointUse"
}],
"strength" : "required",
"description" : "Use of contact point.",
"valueSet" : "http://hl7.org/fhir/ValueSet/contact-point-use|4.0.0"
},
"mapping" : [{
"identity" : "v2",
"map" : "XTN.2 - but often indicated by field"
},
{
"identity" : "rim",
"map" : "unique(./use)"
},
{
"identity" : "servd",
"map" : "./ContactPointPurpose"
}]
},
{
"id" : "ContactPoint.rank",
"path" : "ContactPoint.rank",
"short" : "Specify preferred order of use (1 = highest)",
"definition" : "Specifies a preferred order in which to use a set of contacts. ContactPoints with lower rank values are more preferred than those with higher rank values.",
"comment" : "Note that rank does not necessarily follow the order in which the contacts are represented in the instance.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "positiveInt"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "n/a"
},
{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "ContactPoint.period",
"path" : "ContactPoint.period",
"short" : "Time period when the contact point was/is in use",
"definition" : "Time period when the contact point was/is in use.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "Period"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "N/A"
},
{
"identity" : "rim",
"map" : "./usablePeriod[type=\"IVL\"]"
},
{
"identity" : "servd",
"map" : "./StartDate and ./EndDate"
}]
}]
}
}
},
{
"fullUrl" : "http://hl7.org/fhir/StructureDefinition/Contributor",
"resource" : {
"resourceType" : "StructureDefinition",
"id" : "Contributor",
"meta" : {
"lastUpdated" : "2018-12-27T22:37:54.724+11:00"
},
"text" : {
"status" : "generated",
"div" : "
A measured or measurable amount + Rule: There SHALL be a code with a value of "1" if there is a value. If system is present, it SHALL be UCUM. If present, the value SHALL be a whole number. Elements defined in Ancestors: id, extension, value, comparator, unit, system, code
"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "trial-use"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/Count",
"version" : "4.0.0",
"name" : "Count",
"status" : "draft",
"date" : "2018-12-27T22:37:54+11:00",
"publisher" : "HL7 FHIR Standard",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
}]
}],
"description" : "Base StructureDefinition for Count Type: A measured amount (or an amount that can potentially be measured). Note that measured amounts include amounts that are not precisely quantified, including amounts involving arbitrary units and floating currencies.",
"purpose" : "Need to able to capture all sorts of measured values, even if the measured value are not precisely quantified. Values include exact measures such as 3.51g, customary units such as 3 tablets, and currencies such as $100.32USD.",
"fhirVersion" : "4.0.0",
"mapping" : [{
"identity" : "v2",
"uri" : "http://hl7.org/v2",
"name" : "HL7 v2 Mapping"
},
{
"identity" : "rim",
"uri" : "http://hl7.org/v3",
"name" : "RIM Mapping"
}],
"kind" : "complex-type",
"abstract" : false,
"type" : "Count",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Quantity",
"derivation" : "specialization",
"snapshot" : {
"element" : [{
"id" : "Count",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "trial-use"
}],
"path" : "Count",
"short" : "A measured or measurable amount",
"definition" : "A measured amount (or an amount that can potentially be measured). Note that measured amounts include amounts that are not precisely quantified, including amounts involving arbitrary units and floating currencies.",
"comment" : "The context of use may frequently define what kind of quantity this is and therefore what kind of units can be used. The context of use may also restrict the values for the comparator.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "Count",
"min" : 0,
"max" : "*"
},
"constraint" : [{
"key" : "qty-3",
"severity" : "error",
"human" : "If a code for the unit is present, the system SHALL also be present",
"expression" : "code.empty() or system.exists()",
"xpath" : "not(exists(f:code)) or exists(f:system)",
"source" : "Quantity"
},
{
"key" : "cnt-3",
"severity" : "error",
"human" : "There SHALL be a code with a value of \"1\" if there is a value. If system is present, it SHALL be UCUM. If present, the value SHALL be a whole number.",
"expression" : "(code.exists() or value.empty()) and (system.empty() or system = %ucum) and (code.empty() or code = '1') and (value.empty() or value.hasValue().not() or value.toString().contains('.').not())",
"xpath" : "(f:code or not(f:value)) and (not(exists(f:system)) or (f:system/@value='http://unitsofmeasure.org' and f:code/@value='1')) and not(contains(f:value/@value, '.'))"
}],
"isModifier" : false,
"mapping" : [{
"identity" : "v2",
"map" : "SN (see also Range) or CQ"
},
{
"identity" : "rim",
"map" : "PQ, IVL, MO, CO, depending on the values"
}]
},
{
"id" : "Count.id",
"path" : "Count.id",
"representation" : ["xmlAttr"],
"short" : "Unique id for inter-element referencing",
"definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "Count.extension",
"path" : "Count.extension",
"slicing" : {
"discriminator" : [{
"type" : "value",
"path" : "url"
}],
"description" : "Extensions are always sliced by (at least) url",
"rules" : "open"
},
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "Count.value",
"path" : "Count.value",
"short" : "Numerical value (with implicit precision)",
"definition" : "The value of the measured amount. The value includes an implicit precision in the presentation of the value.",
"comment" : "The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).",
"requirements" : "Precision is handled implicitly in almost all cases of measurement.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Quantity.value",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "decimal"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "SN.2 / CQ - N/A"
},
{
"identity" : "rim",
"map" : "PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value"
}]
},
{
"id" : "Count.comparator",
"path" : "Count.comparator",
"short" : "< | <= | >= | > - how to understand the value",
"definition" : "How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \"<\" , then the real value is < stated value.",
"requirements" : "Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Quantity.comparator",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "code"
}],
"meaningWhenMissing" : "If there is no comparator, then there is no modification of the value",
"isModifier" : true,
"isModifierReason" : "This is labeled as \"Is Modifier\" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value",
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "QuantityComparator"
}],
"strength" : "required",
"description" : "How the Quantity should be understood and represented.",
"valueSet" : "http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.0"
},
"mapping" : [{
"identity" : "v2",
"map" : "SN.1 / CQ.1"
},
{
"identity" : "rim",
"map" : "IVL properties"
}]
},
{
"id" : "Count.unit",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean" : true
}],
"path" : "Count.unit",
"short" : "Unit representation",
"definition" : "A human-readable form of the unit.",
"requirements" : "There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Quantity.unit",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "(see OBX.6 etc.) / CQ.2"
},
{
"identity" : "rim",
"map" : "PQ.unit"
}]
},
{
"id" : "Count.system",
"path" : "Count.system",
"short" : "System that defines coded unit form",
"definition" : "The identification of the system that provides the coded form of the unit.",
"requirements" : "Need to know the system that defines the coded form of the unit.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Quantity.system",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "uri"
}],
"condition" : ["qty-3"],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "(see OBX.6 etc.) / CQ.2"
},
{
"identity" : "rim",
"map" : "CO.codeSystem, PQ.translation.codeSystem"
}]
},
{
"id" : "Count.code",
"path" : "Count.code",
"short" : "Coded form of the unit",
"definition" : "A computer processable form of the unit in some unit representation system.",
"comment" : "The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system.",
"requirements" : "Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Quantity.code",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "code"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "(see OBX.6 etc.) / CQ.2"
},
{
"identity" : "rim",
"map" : "PQ.code, MO.currency, PQ.translation.code"
}]
}]
},
"differential" : {
"element" : [{
"id" : "Count",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "trial-use"
}],
"path" : "Count",
"short" : "A measured or measurable amount",
"definition" : "A measured amount (or an amount that can potentially be measured). Note that measured amounts include amounts that are not precisely quantified, including amounts involving arbitrary units and floating currencies.",
"comment" : "The context of use may frequently define what kind of quantity this is and therefore what kind of units can be used. The context of use may also restrict the values for the comparator.",
"min" : 0,
"max" : "*",
"constraint" : [{
"key" : "cnt-3",
"severity" : "error",
"human" : "There SHALL be a code with a value of \"1\" if there is a value. If system is present, it SHALL be UCUM. If present, the value SHALL be a whole number.",
"expression" : "(code.exists() or value.empty()) and (system.empty() or system = %ucum) and (code.empty() or code = '1') and (value.empty() or value.hasValue().not() or value.toString().contains('.').not())",
"xpath" : "(f:code or not(f:value)) and (not(exists(f:system)) or (f:system/@value='http://unitsofmeasure.org' and f:code/@value='1')) and not(contains(f:value/@value, '.'))"
}],
"mapping" : [{
"identity" : "v2",
"map" : "SN (see also Range) or CQ"
},
{
"identity" : "rim",
"map" : "PQ, IVL, MO, CO, depending on the values"
}]
}]
}
}
},
{
"fullUrl" : "http://hl7.org/fhir/StructureDefinition/DataRequirement",
"resource" : {
"resourceType" : "StructureDefinition",
"id" : "DataRequirement",
"meta" : {
"lastUpdated" : "2018-12-27T22:37:54.724+11:00"
},
"text" : {
"status" : "generated",
"div" : "
"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "trial-use"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/DataRequirement",
"version" : "4.0.0",
"name" : "DataRequirement",
"status" : "draft",
"date" : "2018-12-27T22:37:54+11:00",
"publisher" : "HL7 FHIR Standard",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
}]
}],
"description" : "Base StructureDefinition for DataRequirement Type: Describes a required data item for evaluation in terms of the type of data, and optional code or date-based filters of the data.",
"fhirVersion" : "4.0.0",
"mapping" : [{
"identity" : "rim",
"uri" : "http://hl7.org/v3",
"name" : "RIM Mapping"
}],
"kind" : "complex-type",
"abstract" : false,
"type" : "DataRequirement",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Element",
"derivation" : "specialization",
"snapshot" : {
"element" : [{
"id" : "DataRequirement",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "trial-use"
}],
"path" : "DataRequirement",
"short" : "Describes a required data item",
"definition" : "Describes a required data item for evaluation in terms of the type of data, and optional code or date-based filters of the data.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "DataRequirement",
"min" : 0,
"max" : "*"
},
"condition" : ["ele-1"],
"constraint" : [{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() or (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "Element"
}],
"isModifier" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "DataRequirement.id",
"path" : "DataRequirement.id",
"representation" : ["xmlAttr"],
"short" : "Unique id for inter-element referencing",
"definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "DataRequirement.extension",
"path" : "DataRequirement.extension",
"slicing" : {
"discriminator" : [{
"type" : "value",
"path" : "url"
}],
"description" : "Extensions are always sliced by (at least) url",
"rules" : "open"
},
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "DataRequirement.type",
"path" : "DataRequirement.type",
"short" : "The type of the required data",
"definition" : "The type of the required data, specified as the type name of a resource. For profiles, this value is set to the type of the base resource of the profile.",
"min" : 1,
"max" : "1",
"base" : {
"path" : "DataRequirement.type",
"min" : 1,
"max" : "1"
},
"type" : [{
"code" : "code"
}],
"isModifier" : false,
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "FHIRAllTypes"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
"valueBoolean" : true
}],
"strength" : "required",
"description" : "A list of all the concrete types defined in this version of the FHIR specification - Abstract Types, Data Types and Resource Types.",
"valueSet" : "http://hl7.org/fhir/ValueSet/all-types|4.0.0"
}
},
{
"id" : "DataRequirement.profile",
"path" : "DataRequirement.profile",
"short" : "The profile of the required data",
"definition" : "The profile of the required data, specified as the uri of the profile definition.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "DataRequirement.profile",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "canonical",
"targetProfile" : ["http://hl7.org/fhir/StructureDefinition/StructureDefinition"]
}],
"isModifier" : false,
"isSummary" : true
},
{
"id" : "DataRequirement.subject[x]",
"path" : "DataRequirement.subject[x]",
"short" : "E.g. Patient, Practitioner, RelatedPerson, Organization, Location, Device",
"definition" : "The intended subjects of the data requirement. If this element is not provided, a Patient subject is assumed.",
"comment" : "The subject of a data requirement is critical, as the data being specified is determined with respect to a particular subject. This corresponds roughly to the notion of a Compartment in that it limits what data is available based on its relationship to the subject. In CQL, this corresponds to the context declaration.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "DataRequirement.subject[x]",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "CodeableConcept"
},
{
"code" : "Reference",
"targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Group"]
}],
"meaningWhenMissing" : "Patient",
"isModifier" : false,
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "SubjectType"
}],
"strength" : "extensible",
"description" : "The possible types of subjects for a data requirement (E.g., Patient, Practitioner, Organization, Location, etc.).",
"valueSet" : "http://hl7.org/fhir/ValueSet/subject-type"
}
},
{
"id" : "DataRequirement.mustSupport",
"path" : "DataRequirement.mustSupport",
"short" : "Indicates specific structure elements that are referenced by the knowledge module",
"definition" : "Indicates that specific elements of the type are referenced by the knowledge module and must be supported by the consumer in order to obtain an effective evaluation. This does not mean that a value is required for this element, only that the consuming system must understand the element and be able to provide values for it if they are available. \n\nThe value of mustSupport SHALL be a FHIRPath resolveable on the type of the DataRequirement. The path SHALL consist only of identifiers, constant indexers, and .resolve() (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details).",
"min" : 0,
"max" : "*",
"base" : {
"path" : "DataRequirement.mustSupport",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : true
},
{
"id" : "DataRequirement.codeFilter",
"path" : "DataRequirement.codeFilter",
"short" : "What codes are expected",
"definition" : "Code filters specify additional constraints on the data, specifying the value set of interest for a particular element of the data. Each code filter defines an additional constraint on the data, i.e. code filters are AND'ed, not OR'ed.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "DataRequirement.codeFilter",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Element"
}],
"constraint" : [{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() or (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "Element"
},
{
"key" : "drq-1",
"severity" : "error",
"human" : "Either a path or a searchParam must be provided, but not both",
"expression" : "path.exists() xor searchParam.exists()",
"xpath" : "(exists(f:path) and not(exists(f:searchParam))) or (not(exists(f:path)) and exists(f:searchParam))"
}],
"isModifier" : false,
"isSummary" : true
},
{
"id" : "DataRequirement.codeFilter.id",
"path" : "DataRequirement.codeFilter.id",
"representation" : ["xmlAttr"],
"short" : "Unique id for inter-element referencing",
"definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "DataRequirement.codeFilter.extension",
"path" : "DataRequirement.codeFilter.extension",
"slicing" : {
"discriminator" : [{
"type" : "value",
"path" : "url"
}],
"description" : "Extensions are always sliced by (at least) url",
"rules" : "open"
},
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "DataRequirement.codeFilter.path",
"path" : "DataRequirement.codeFilter.path",
"short" : "A code-valued attribute to filter on",
"definition" : "The code-valued attribute of the filter. The specified path SHALL be a FHIRPath resolveable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details). Note that the index must be an integer constant. The path must resolve to an element of type code, Coding, or CodeableConcept.",
"comment" : "The path attribute contains a [Simple FHIRPath Subset](fhirpath.html#simple) that allows path traversal, but not calculation.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "DataRequirement.codeFilter.path",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : true
},
{
"id" : "DataRequirement.codeFilter.searchParam",
"path" : "DataRequirement.codeFilter.searchParam",
"short" : "A coded (token) parameter to search on",
"definition" : "A token parameter that refers to a search parameter defined on the specified type of the DataRequirement, and which searches on elements of type code, Coding, or CodeableConcept.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "DataRequirement.codeFilter.searchParam",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : true
},
{
"id" : "DataRequirement.codeFilter.valueSet",
"path" : "DataRequirement.codeFilter.valueSet",
"short" : "Valueset for the filter",
"definition" : "The valueset for the code filter. The valueSet and code elements are additive. If valueSet is specified, the filter will return only those data items for which the value of the code-valued element specified in the path is a member of the specified valueset.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "DataRequirement.codeFilter.valueSet",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "canonical",
"targetProfile" : ["http://hl7.org/fhir/StructureDefinition/ValueSet"]
}],
"isModifier" : false,
"isSummary" : true
},
{
"id" : "DataRequirement.codeFilter.code",
"path" : "DataRequirement.codeFilter.code",
"short" : "What code is expected",
"definition" : "The codes for the code filter. If values are given, the filter will return only those data items for which the code-valued attribute specified by the path has a value that is one of the specified codes. If codes are specified in addition to a value set, the filter returns items matching a code in the value set or one of the specified codes.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "DataRequirement.codeFilter.code",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Coding"
}],
"isModifier" : false,
"isSummary" : true
},
{
"id" : "DataRequirement.dateFilter",
"path" : "DataRequirement.dateFilter",
"short" : "What dates/date ranges are expected",
"definition" : "Date filters specify additional constraints on the data in terms of the applicable date range for specific elements. Each date filter specifies an additional constraint on the data, i.e. date filters are AND'ed, not OR'ed.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "DataRequirement.dateFilter",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Element"
}],
"constraint" : [{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() or (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "Element"
},
{
"key" : "drq-2",
"severity" : "error",
"human" : "Either a path or a searchParam must be provided, but not both",
"expression" : "path.exists() xor searchParam.exists()",
"xpath" : "(exists(f:path) and not(exists(f:searchParam))) or (not(exists(f:path)) and exists(f:searchParam))"
}],
"isModifier" : false,
"isSummary" : true
},
{
"id" : "DataRequirement.dateFilter.id",
"path" : "DataRequirement.dateFilter.id",
"representation" : ["xmlAttr"],
"short" : "Unique id for inter-element referencing",
"definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "DataRequirement.dateFilter.extension",
"path" : "DataRequirement.dateFilter.extension",
"slicing" : {
"discriminator" : [{
"type" : "value",
"path" : "url"
}],
"description" : "Extensions are always sliced by (at least) url",
"rules" : "open"
},
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "DataRequirement.dateFilter.path",
"path" : "DataRequirement.dateFilter.path",
"short" : "A date-valued attribute to filter on",
"definition" : "The date-valued attribute of the filter. The specified path SHALL be a FHIRPath resolveable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details). Note that the index must be an integer constant. The path must resolve to an element of type date, dateTime, Period, Schedule, or Timing.",
"comment" : "The path attribute contains a [Simple FHIR Subset](fhirpath.html#simple) that allows path traversal, but not calculation.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "DataRequirement.dateFilter.path",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : true
},
{
"id" : "DataRequirement.dateFilter.searchParam",
"path" : "DataRequirement.dateFilter.searchParam",
"short" : "A date valued parameter to search on",
"definition" : "A date parameter that refers to a search parameter defined on the specified type of the DataRequirement, and which searches on elements of type date, dateTime, Period, Schedule, or Timing.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "DataRequirement.dateFilter.searchParam",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : true
},
{
"id" : "DataRequirement.dateFilter.value[x]",
"path" : "DataRequirement.dateFilter.value[x]",
"short" : "The value of the filter, as a Period, DateTime, or Duration value",
"definition" : "The value of the filter. If period is specified, the filter will return only those data items that fall within the bounds determined by the Period, inclusive of the period boundaries. If dateTime is specified, the filter will return only those data items that are equal to the specified dateTime. If a Duration is specified, the filter will return only those data items that fall within Duration before now.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "DataRequirement.dateFilter.value[x]",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "dateTime"
},
{
"code" : "Period"
},
{
"code" : "Duration"
}],
"isModifier" : false,
"isSummary" : true
},
{
"id" : "DataRequirement.limit",
"path" : "DataRequirement.limit",
"short" : "Number of results",
"definition" : "Specifies a maximum number of results that are required (uses the _count search parameter).",
"comment" : "This element can be used in combination with the sort element to specify quota requirements such as \"the most recent 5\" or \"the highest 5\".",
"requirements" : "Enables the requirement \"most recent 5 results\" to be expressed.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "DataRequirement.limit",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "positiveInt"
}],
"isModifier" : false,
"isSummary" : true
},
{
"id" : "DataRequirement.sort",
"path" : "DataRequirement.sort",
"short" : "Order of the results",
"definition" : "Specifies the order of the results to be returned.",
"comment" : "This element can be used in combination with the sort element to specify quota requirements such as \"the most recent 5\" or \"the highest 5\". When multiple sorts are specified, they are applied in the order they appear in the resource.",
"requirements" : "Enables the requirement \"most recent 5 results\" to be expressed.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "DataRequirement.sort",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Element"
}],
"constraint" : [{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() or (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "Element"
}],
"isModifier" : false,
"isSummary" : true
},
{
"id" : "DataRequirement.sort.id",
"path" : "DataRequirement.sort.id",
"representation" : ["xmlAttr"],
"short" : "Unique id for inter-element referencing",
"definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "DataRequirement.sort.extension",
"path" : "DataRequirement.sort.extension",
"slicing" : {
"discriminator" : [{
"type" : "value",
"path" : "url"
}],
"description" : "Extensions are always sliced by (at least) url",
"rules" : "open"
},
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "DataRequirement.sort.path",
"path" : "DataRequirement.sort.path",
"short" : "The name of the attribute to perform the sort",
"definition" : "The attribute of the sort. The specified path must be resolvable from the type of the required data. The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements. Note that the index must be an integer constant.",
"min" : 1,
"max" : "1",
"base" : {
"path" : "DataRequirement.sort.path",
"min" : 1,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : true
},
{
"id" : "DataRequirement.sort.direction",
"path" : "DataRequirement.sort.direction",
"short" : "ascending | descending",
"definition" : "The direction of the sort, ascending or descending.",
"min" : 1,
"max" : "1",
"base" : {
"path" : "DataRequirement.sort.direction",
"min" : 1,
"max" : "1"
},
"type" : [{
"code" : "code"
}],
"isModifier" : false,
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "SortDirection"
}],
"strength" : "required",
"description" : "The possible sort directions, ascending or descending.",
"valueSet" : "http://hl7.org/fhir/ValueSet/sort-direction|4.0.0"
}
}]
},
"differential" : {
"element" : [{
"id" : "DataRequirement",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "trial-use"
}],
"path" : "DataRequirement",
"short" : "Describes a required data item",
"definition" : "Describes a required data item for evaluation in terms of the type of data, and optional code or date-based filters of the data.",
"min" : 0,
"max" : "*"
},
{
"id" : "DataRequirement.type",
"path" : "DataRequirement.type",
"short" : "The type of the required data",
"definition" : "The type of the required data, specified as the type name of a resource. For profiles, this value is set to the type of the base resource of the profile.",
"min" : 1,
"max" : "1",
"type" : [{
"code" : "code"
}],
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "FHIRAllTypes"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
"valueBoolean" : true
}],
"strength" : "required",
"description" : "A list of all the concrete types defined in this version of the FHIR specification - Abstract Types, Data Types and Resource Types.",
"valueSet" : "http://hl7.org/fhir/ValueSet/all-types|4.0.0"
}
},
{
"id" : "DataRequirement.profile",
"path" : "DataRequirement.profile",
"short" : "The profile of the required data",
"definition" : "The profile of the required data, specified as the uri of the profile definition.",
"min" : 0,
"max" : "*",
"type" : [{
"code" : "canonical",
"targetProfile" : ["http://hl7.org/fhir/StructureDefinition/StructureDefinition"]
}],
"isSummary" : true
},
{
"id" : "DataRequirement.subject[x]",
"path" : "DataRequirement.subject[x]",
"short" : "E.g. Patient, Practitioner, RelatedPerson, Organization, Location, Device",
"definition" : "The intended subjects of the data requirement. If this element is not provided, a Patient subject is assumed.",
"comment" : "The subject of a data requirement is critical, as the data being specified is determined with respect to a particular subject. This corresponds roughly to the notion of a Compartment in that it limits what data is available based on its relationship to the subject. In CQL, this corresponds to the context declaration.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "CodeableConcept"
},
{
"code" : "Reference",
"targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Group"]
}],
"meaningWhenMissing" : "Patient",
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "SubjectType"
}],
"strength" : "extensible",
"description" : "The possible types of subjects for a data requirement (E.g., Patient, Practitioner, Organization, Location, etc.).",
"valueSet" : "http://hl7.org/fhir/ValueSet/subject-type"
}
},
{
"id" : "DataRequirement.mustSupport",
"path" : "DataRequirement.mustSupport",
"short" : "Indicates specific structure elements that are referenced by the knowledge module",
"definition" : "Indicates that specific elements of the type are referenced by the knowledge module and must be supported by the consumer in order to obtain an effective evaluation. This does not mean that a value is required for this element, only that the consuming system must understand the element and be able to provide values for it if they are available. \n\nThe value of mustSupport SHALL be a FHIRPath resolveable on the type of the DataRequirement. The path SHALL consist only of identifiers, constant indexers, and .resolve() (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details).",
"min" : 0,
"max" : "*",
"type" : [{
"code" : "string"
}],
"isSummary" : true
},
{
"id" : "DataRequirement.codeFilter",
"path" : "DataRequirement.codeFilter",
"short" : "What codes are expected",
"definition" : "Code filters specify additional constraints on the data, specifying the value set of interest for a particular element of the data. Each code filter defines an additional constraint on the data, i.e. code filters are AND'ed, not OR'ed.",
"min" : 0,
"max" : "*",
"type" : [{
"code" : "Element"
}],
"constraint" : [{
"key" : "drq-1",
"severity" : "error",
"human" : "Either a path or a searchParam must be provided, but not both",
"expression" : "path.exists() xor searchParam.exists()",
"xpath" : "(exists(f:path) and not(exists(f:searchParam))) or (not(exists(f:path)) and exists(f:searchParam))"
}],
"isSummary" : true
},
{
"id" : "DataRequirement.codeFilter.path",
"path" : "DataRequirement.codeFilter.path",
"short" : "A code-valued attribute to filter on",
"definition" : "The code-valued attribute of the filter. The specified path SHALL be a FHIRPath resolveable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details). Note that the index must be an integer constant. The path must resolve to an element of type code, Coding, or CodeableConcept.",
"comment" : "The path attribute contains a [Simple FHIRPath Subset](fhirpath.html#simple) that allows path traversal, but not calculation.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "string"
}],
"isSummary" : true
},
{
"id" : "DataRequirement.codeFilter.searchParam",
"path" : "DataRequirement.codeFilter.searchParam",
"short" : "A coded (token) parameter to search on",
"definition" : "A token parameter that refers to a search parameter defined on the specified type of the DataRequirement, and which searches on elements of type code, Coding, or CodeableConcept.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "string"
}],
"isSummary" : true
},
{
"id" : "DataRequirement.codeFilter.valueSet",
"path" : "DataRequirement.codeFilter.valueSet",
"short" : "Valueset for the filter",
"definition" : "The valueset for the code filter. The valueSet and code elements are additive. If valueSet is specified, the filter will return only those data items for which the value of the code-valued element specified in the path is a member of the specified valueset.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "canonical",
"targetProfile" : ["http://hl7.org/fhir/StructureDefinition/ValueSet"]
}],
"isSummary" : true
},
{
"id" : "DataRequirement.codeFilter.code",
"path" : "DataRequirement.codeFilter.code",
"short" : "What code is expected",
"definition" : "The codes for the code filter. If values are given, the filter will return only those data items for which the code-valued attribute specified by the path has a value that is one of the specified codes. If codes are specified in addition to a value set, the filter returns items matching a code in the value set or one of the specified codes.",
"min" : 0,
"max" : "*",
"type" : [{
"code" : "Coding"
}],
"isSummary" : true
},
{
"id" : "DataRequirement.dateFilter",
"path" : "DataRequirement.dateFilter",
"short" : "What dates/date ranges are expected",
"definition" : "Date filters specify additional constraints on the data in terms of the applicable date range for specific elements. Each date filter specifies an additional constraint on the data, i.e. date filters are AND'ed, not OR'ed.",
"min" : 0,
"max" : "*",
"type" : [{
"code" : "Element"
}],
"constraint" : [{
"key" : "drq-2",
"severity" : "error",
"human" : "Either a path or a searchParam must be provided, but not both",
"expression" : "path.exists() xor searchParam.exists()",
"xpath" : "(exists(f:path) and not(exists(f:searchParam))) or (not(exists(f:path)) and exists(f:searchParam))"
}],
"isSummary" : true
},
{
"id" : "DataRequirement.dateFilter.path",
"path" : "DataRequirement.dateFilter.path",
"short" : "A date-valued attribute to filter on",
"definition" : "The date-valued attribute of the filter. The specified path SHALL be a FHIRPath resolveable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details). Note that the index must be an integer constant. The path must resolve to an element of type date, dateTime, Period, Schedule, or Timing.",
"comment" : "The path attribute contains a [Simple FHIR Subset](fhirpath.html#simple) that allows path traversal, but not calculation.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "string"
}],
"isSummary" : true
},
{
"id" : "DataRequirement.dateFilter.searchParam",
"path" : "DataRequirement.dateFilter.searchParam",
"short" : "A date valued parameter to search on",
"definition" : "A date parameter that refers to a search parameter defined on the specified type of the DataRequirement, and which searches on elements of type date, dateTime, Period, Schedule, or Timing.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "string"
}],
"isSummary" : true
},
{
"id" : "DataRequirement.dateFilter.value[x]",
"path" : "DataRequirement.dateFilter.value[x]",
"short" : "The value of the filter, as a Period, DateTime, or Duration value",
"definition" : "The value of the filter. If period is specified, the filter will return only those data items that fall within the bounds determined by the Period, inclusive of the period boundaries. If dateTime is specified, the filter will return only those data items that are equal to the specified dateTime. If a Duration is specified, the filter will return only those data items that fall within Duration before now.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "dateTime"
},
{
"code" : "Period"
},
{
"code" : "Duration"
}],
"isSummary" : true
},
{
"id" : "DataRequirement.limit",
"path" : "DataRequirement.limit",
"short" : "Number of results",
"definition" : "Specifies a maximum number of results that are required (uses the _count search parameter).",
"comment" : "This element can be used in combination with the sort element to specify quota requirements such as \"the most recent 5\" or \"the highest 5\".",
"requirements" : "Enables the requirement \"most recent 5 results\" to be expressed.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "positiveInt"
}],
"isSummary" : true
},
{
"id" : "DataRequirement.sort",
"path" : "DataRequirement.sort",
"short" : "Order of the results",
"definition" : "Specifies the order of the results to be returned.",
"comment" : "This element can be used in combination with the sort element to specify quota requirements such as \"the most recent 5\" or \"the highest 5\". When multiple sorts are specified, they are applied in the order they appear in the resource.",
"requirements" : "Enables the requirement \"most recent 5 results\" to be expressed.",
"min" : 0,
"max" : "*",
"type" : [{
"code" : "Element"
}],
"isSummary" : true
},
{
"id" : "DataRequirement.sort.path",
"path" : "DataRequirement.sort.path",
"short" : "The name of the attribute to perform the sort",
"definition" : "The attribute of the sort. The specified path must be resolvable from the type of the required data. The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements. Note that the index must be an integer constant.",
"min" : 1,
"max" : "1",
"type" : [{
"code" : "string"
}],
"isSummary" : true
},
{
"id" : "DataRequirement.sort.direction",
"path" : "DataRequirement.sort.direction",
"short" : "ascending | descending",
"definition" : "The direction of the sort, ascending or descending.",
"min" : 1,
"max" : "1",
"type" : [{
"code" : "code"
}],
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "SortDirection"
}],
"strength" : "required",
"description" : "The possible sort directions, ascending or descending.",
"valueSet" : "http://hl7.org/fhir/ValueSet/sort-direction|4.0.0"
}
}]
}
}
},
{
"fullUrl" : "http://hl7.org/fhir/StructureDefinition/Distance",
"resource" : {
"resourceType" : "StructureDefinition",
"id" : "Distance",
"meta" : {
"lastUpdated" : "2018-12-27T22:37:54.724+11:00"
},
"text" : {
"status" : "generated",
"div" : "
"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "trial-use"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/Distance",
"version" : "4.0.0",
"name" : "Distance",
"status" : "draft",
"date" : "2018-12-27T22:37:54+11:00",
"publisher" : "HL7 FHIR Standard",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
}]
}],
"description" : "Base StructureDefinition for Distance Type: A length - a value with a unit that is a physical distance.",
"fhirVersion" : "4.0.0",
"mapping" : [{
"identity" : "rim",
"uri" : "http://hl7.org/v3",
"name" : "RIM Mapping"
},
{
"identity" : "v2",
"uri" : "http://hl7.org/v2",
"name" : "HL7 v2 Mapping"
}],
"kind" : "complex-type",
"abstract" : false,
"type" : "Distance",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Quantity",
"derivation" : "specialization",
"snapshot" : {
"element" : [{
"id" : "Distance",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "trial-use"
}],
"path" : "Distance",
"short" : "A length - a value with a unit that is a physical distance",
"definition" : "A length - a value with a unit that is a physical distance.",
"comment" : "The context of use may frequently define what kind of quantity this is and therefore what kind of units can be used. The context of use may also restrict the values for the comparator.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "Distance",
"min" : 0,
"max" : "*"
},
"constraint" : [{
"key" : "qty-3",
"severity" : "error",
"human" : "If a code for the unit is present, the system SHALL also be present",
"expression" : "code.empty() or system.exists()",
"xpath" : "not(exists(f:code)) or exists(f:system)",
"source" : "Quantity"
},
{
"key" : "dis-1",
"severity" : "error",
"human" : "There SHALL be a code if there is a value and it SHALL be an expression of length. If system is present, it SHALL be UCUM.",
"expression" : "(code.exists() or value.empty()) and (system.empty() or system = %ucum)",
"xpath" : "(f:code or not(f:value)) and (not(exists(f:system)) or f:system/@value='http://unitsofmeasure.org')"
}],
"isModifier" : false,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
"valueCanonical" : "http://hl7.org/fhir/ValueSet/all-distance-units"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "DistanceUnits"
}],
"strength" : "extensible",
"description" : "Appropriate units for Distance.",
"valueSet" : "http://hl7.org/fhir/ValueSet/distance-units"
},
"mapping" : [{
"identity" : "v2",
"map" : "SN (see also Range) or CQ"
},
{
"identity" : "rim",
"map" : "PQ, IVL, MO, CO, depending on the values"
},
{
"identity" : "rim",
"map" : "PQ"
}]
},
{
"id" : "Distance.id",
"path" : "Distance.id",
"representation" : ["xmlAttr"],
"short" : "Unique id for inter-element referencing",
"definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "Distance.extension",
"path" : "Distance.extension",
"slicing" : {
"discriminator" : [{
"type" : "value",
"path" : "url"
}],
"description" : "Extensions are always sliced by (at least) url",
"rules" : "open"
},
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "Distance.value",
"path" : "Distance.value",
"short" : "Numerical value (with implicit precision)",
"definition" : "The value of the measured amount. The value includes an implicit precision in the presentation of the value.",
"comment" : "The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).",
"requirements" : "Precision is handled implicitly in almost all cases of measurement.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Quantity.value",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "decimal"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "SN.2 / CQ - N/A"
},
{
"identity" : "rim",
"map" : "PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value"
}]
},
{
"id" : "Distance.comparator",
"path" : "Distance.comparator",
"short" : "< | <= | >= | > - how to understand the value",
"definition" : "How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \"<\" , then the real value is < stated value.",
"requirements" : "Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Quantity.comparator",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "code"
}],
"meaningWhenMissing" : "If there is no comparator, then there is no modification of the value",
"isModifier" : true,
"isModifierReason" : "This is labeled as \"Is Modifier\" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value",
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "QuantityComparator"
}],
"strength" : "required",
"description" : "How the Quantity should be understood and represented.",
"valueSet" : "http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.0"
},
"mapping" : [{
"identity" : "v2",
"map" : "SN.1 / CQ.1"
},
{
"identity" : "rim",
"map" : "IVL properties"
}]
},
{
"id" : "Distance.unit",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean" : true
}],
"path" : "Distance.unit",
"short" : "Unit representation",
"definition" : "A human-readable form of the unit.",
"requirements" : "There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Quantity.unit",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "(see OBX.6 etc.) / CQ.2"
},
{
"identity" : "rim",
"map" : "PQ.unit"
}]
},
{
"id" : "Distance.system",
"path" : "Distance.system",
"short" : "System that defines coded unit form",
"definition" : "The identification of the system that provides the coded form of the unit.",
"requirements" : "Need to know the system that defines the coded form of the unit.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Quantity.system",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "uri"
}],
"condition" : ["qty-3"],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "(see OBX.6 etc.) / CQ.2"
},
{
"identity" : "rim",
"map" : "CO.codeSystem, PQ.translation.codeSystem"
}]
},
{
"id" : "Distance.code",
"path" : "Distance.code",
"short" : "Coded form of the unit",
"definition" : "A computer processable form of the unit in some unit representation system.",
"comment" : "The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system.",
"requirements" : "Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Quantity.code",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "code"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "(see OBX.6 etc.) / CQ.2"
},
{
"identity" : "rim",
"map" : "PQ.code, MO.currency, PQ.translation.code"
}]
}]
},
"differential" : {
"element" : [{
"id" : "Distance",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "trial-use"
}],
"path" : "Distance",
"short" : "A length - a value with a unit that is a physical distance",
"definition" : "A length - a value with a unit that is a physical distance.",
"min" : 0,
"max" : "*",
"constraint" : [{
"key" : "dis-1",
"severity" : "error",
"human" : "There SHALL be a code if there is a value and it SHALL be an expression of length. If system is present, it SHALL be UCUM.",
"expression" : "(code.exists() or value.empty()) and (system.empty() or system = %ucum)",
"xpath" : "(f:code or not(f:value)) and (not(exists(f:system)) or f:system/@value='http://unitsofmeasure.org')"
}],
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
"valueCanonical" : "http://hl7.org/fhir/ValueSet/all-distance-units"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "DistanceUnits"
}],
"strength" : "extensible",
"description" : "Appropriate units for Distance.",
"valueSet" : "http://hl7.org/fhir/ValueSet/distance-units"
},
"mapping" : [{
"identity" : "rim",
"map" : "PQ"
}]
}]
}
}
},
{
"fullUrl" : "http://hl7.org/fhir/StructureDefinition/Dosage",
"resource" : {
"resourceType" : "StructureDefinition",
"id" : "Dosage",
"meta" : {
"lastUpdated" : "2018-12-27T22:37:54.724+11:00"
},
"text" : {
"status" : "generated",
"div" : "
"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "trial-use"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/Dosage",
"version" : "4.0.0",
"name" : "Dosage",
"status" : "draft",
"date" : "2018-12-27T22:37:54+11:00",
"publisher" : "HL7 FHIR Standard",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
}]
}],
"description" : "Base StructureDefinition for Dosage Type: Indicates how the medication is/was taken or should be taken by the patient.",
"fhirVersion" : "4.0.0",
"mapping" : [{
"identity" : "rim",
"uri" : "http://hl7.org/v3",
"name" : "RIM Mapping"
},
{
"identity" : "v2",
"uri" : "http://hl7.org/v2",
"name" : "HL7 v2 Mapping"
}],
"kind" : "complex-type",
"abstract" : false,
"type" : "Dosage",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/BackboneElement",
"derivation" : "specialization",
"snapshot" : {
"element" : [{
"id" : "Dosage",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "trial-use"
}],
"path" : "Dosage",
"short" : "How the medication is/was taken or should be taken",
"definition" : "Indicates how the medication is/was taken or should be taken by the patient.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "Dosage",
"min" : 0,
"max" : "*"
},
"isModifier" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
},
{
"identity" : "rim",
"map" : ".outboundRelationship[typeCode=COMP].target[classCode=SBADM, moodCode=INT]"
}]
},
{
"id" : "Dosage.id",
"path" : "Dosage.id",
"representation" : ["xmlAttr"],
"short" : "Unique id for inter-element referencing",
"definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "Dosage.extension",
"path" : "Dosage.extension",
"slicing" : {
"discriminator" : [{
"type" : "value",
"path" : "url"
}],
"description" : "Extensions are always sliced by (at least) url",
"rules" : "open"
},
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "Dosage.modifierExtension",
"path" : "Dosage.modifierExtension",
"short" : "Extensions that cannot be ignored even if unrecognized",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).",
"alias" : ["extensions",
"user content",
"modifiers"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "BackboneElement.modifierExtension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : true,
"isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A"
}]
},
{
"id" : "Dosage.sequence",
"path" : "Dosage.sequence",
"short" : "The order of the dosage instructions",
"definition" : "Indicates the order in which the dosage instructions should be applied or interpreted.",
"requirements" : "If the sequence number of multiple Dosages is the same, then it is implied that the instructions are to be treated as concurrent. If the sequence number is different, then the Dosages are intended to be sequential.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Dosage.sequence",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "integer"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "TQ1-1"
},
{
"identity" : "rim",
"map" : ".text"
}]
},
{
"id" : "Dosage.text",
"path" : "Dosage.text",
"short" : "Free text dosage instructions e.g. SIG",
"definition" : "Free text dosage instructions e.g. SIG.",
"requirements" : "Free text dosage instructions can be used for cases where the instructions are too complex to code. The content of this attribute does not include the name or description of the medication. When coded instructions are present, the free text instructions may still be present for display to humans taking or administering the medication. It is expected that the text instructions will always be populated. If the dosage.timing attribute is also populated, then the dosage.text should reflect the same information as the timing. Additional information about administration or preparation of the medication should be included as text.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Dosage.text",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "RXO-6; RXE-21"
},
{
"identity" : "rim",
"map" : ".text"
}]
},
{
"id" : "Dosage.additionalInstruction",
"path" : "Dosage.additionalInstruction",
"short" : "Supplemental instruction or warnings to the patient - e.g. \"with meals\", \"may cause drowsiness\"",
"definition" : "Supplemental instructions to the patient on how to take the medication (e.g. \"with meals\" or\"take half to one hour before food\") or warnings for the patient about the medication (e.g. \"may cause drowsiness\" or \"avoid exposure of skin to direct sunlight or sunlamps\").",
"comment" : "Information about administration or preparation of the medication (e.g. \"infuse as rapidly as possibly via intraperitoneal port\" or \"immediately following drug x\") should be populated in dosage.text.",
"requirements" : "Additional instruction is intended to be coded, but where no code exists, the element could include text. For example, \"Swallow with plenty of water\" which might or might not be coded.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "Dosage.additionalInstruction",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "CodeableConcept"
}],
"isModifier" : false,
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "AdditionalInstruction"
}],
"strength" : "example",
"description" : "A coded concept identifying additional instructions such as \"take with water\" or \"avoid operating heavy machinery\".",
"valueSet" : "http://hl7.org/fhir/ValueSet/additional-instruction-codes"
},
"mapping" : [{
"identity" : "v2",
"map" : "RXO-7"
},
{
"identity" : "rim",
"map" : ".text"
}]
},
{
"id" : "Dosage.patientInstruction",
"path" : "Dosage.patientInstruction",
"short" : "Patient or consumer oriented instructions",
"definition" : "Instructions in terms that are understood by the patient or consumer.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Dosage.patientInstruction",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "RXO-7"
},
{
"identity" : "rim",
"map" : ".text"
}]
},
{
"id" : "Dosage.timing",
"path" : "Dosage.timing",
"short" : "When medication should be administered",
"definition" : "When medication should be administered.",
"comment" : "This attribute might not always be populated while the Dosage.text is expected to be populated. If both are populated, then the Dosage.text should reflect the content of the Dosage.timing.",
"requirements" : "The timing schedule for giving the medication to the patient. This data type allows many different expressions. For example: \"Every 8 hours\"; \"Three times a day\"; \"1/2 an hour before breakfast for 10 days from 23-Dec 2011:\"; \"15 Oct 2013, 17 Oct 2013 and 1 Nov 2013\". Sometimes, a rate can imply duration when expressed as total volume / duration (e.g. 500mL/2 hours implies a duration of 2 hours). However, when rate doesn't imply duration (e.g. 250mL/hour), then the timing.repeat.duration is needed to convey the infuse over time period.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Dosage.timing",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "Timing"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : ".effectiveTime"
}]
},
{
"id" : "Dosage.asNeeded[x]",
"path" : "Dosage.asNeeded[x]",
"short" : "Take \"as needed\" (for x)",
"definition" : "Indicates whether the Medication is only taken when needed within a specific dosing schedule (Boolean option), or it indicates the precondition for taking the Medication (CodeableConcept).",
"comment" : "Can express \"as needed\" without a reason by setting the Boolean = True. In this case the CodeableConcept is not populated. Or you can express \"as needed\" with a reason by including the CodeableConcept. In this case the Boolean is assumed to be True. If you set the Boolean to False, then the dose is given according to the schedule and is not \"prn\" or \"as needed\".",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Dosage.asNeeded[x]",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "boolean"
},
{
"code" : "CodeableConcept"
}],
"isModifier" : false,
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "MedicationAsNeededReason"
}],
"strength" : "example",
"description" : "A coded concept identifying the precondition that should be met or evaluated prior to consuming or administering a medication dose. For example \"pain\", \"30 minutes prior to sexual intercourse\", \"on flare-up\" etc.",
"valueSet" : "http://hl7.org/fhir/ValueSet/medication-as-needed-reason"
},
"mapping" : [{
"identity" : "v2",
"map" : "TQ1-9"
},
{
"identity" : "rim",
"map" : ".outboundRelationship[typeCode=PRCN].target[classCode=OBS, moodCode=EVN, code=\"as needed\"].value=boolean or codable concept"
}]
},
{
"id" : "Dosage.site",
"path" : "Dosage.site",
"short" : "Body site to administer to",
"definition" : "Body site to administer to.",
"comment" : "If the use case requires attributes from the BodySite resource (e.g. to identify and track separately) then use the standard extension [bodySite](extension-bodysite.html). May be a summary code, or a reference to a very precise definition of the location, or both.",
"requirements" : "A coded specification of the anatomic site where the medication first enters the body.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Dosage.site",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "CodeableConcept"
}],
"isModifier" : false,
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "MedicationAdministrationSite"
}],
"strength" : "example",
"description" : "A coded concept describing the site location the medicine enters into or onto the body.",
"valueSet" : "http://hl7.org/fhir/ValueSet/approach-site-codes"
},
"mapping" : [{
"identity" : "v2",
"map" : "RXR-2"
},
{
"identity" : "rim",
"map" : ".approachSiteCode"
}]
},
{
"id" : "Dosage.route",
"path" : "Dosage.route",
"short" : "How drug should enter body",
"definition" : "How drug should enter body.",
"requirements" : "A code specifying the route or physiological path of administration of a therapeutic agent into or onto a patient's body.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Dosage.route",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "CodeableConcept"
}],
"isModifier" : false,
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "RouteOfAdministration"
}],
"strength" : "example",
"description" : "A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject.",
"valueSet" : "http://hl7.org/fhir/ValueSet/route-codes"
},
"mapping" : [{
"identity" : "v2",
"map" : "RXR-1"
},
{
"identity" : "rim",
"map" : ".routeCode"
}]
},
{
"id" : "Dosage.method",
"path" : "Dosage.method",
"short" : "Technique for administering medication",
"definition" : "Technique for administering medication.",
"comment" : "Terminologies used often pre-coordinate this term with the route and or form of administration.",
"requirements" : "A coded value indicating the method by which the medication is introduced into or onto the body. Most commonly used for injections. For examples, Slow Push; Deep IV.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Dosage.method",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "CodeableConcept"
}],
"isModifier" : false,
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "MedicationAdministrationMethod"
}],
"strength" : "example",
"description" : "A coded concept describing the technique by which the medicine is administered.",
"valueSet" : "http://hl7.org/fhir/ValueSet/administration-method-codes"
},
"mapping" : [{
"identity" : "v2",
"map" : "RXR-4"
},
{
"identity" : "rim",
"map" : ".doseQuantity"
}]
},
{
"id" : "Dosage.doseAndRate",
"path" : "Dosage.doseAndRate",
"short" : "Amount of medication administered",
"definition" : "The amount of medication administered.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "Dosage.doseAndRate",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Element"
}],
"constraint" : [{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() or (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "Element"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "TQ1-2"
}]
},
{
"id" : "Dosage.doseAndRate.id",
"path" : "Dosage.doseAndRate.id",
"representation" : ["xmlAttr"],
"short" : "Unique id for inter-element referencing",
"definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "Dosage.doseAndRate.extension",
"path" : "Dosage.doseAndRate.extension",
"slicing" : {
"discriminator" : [{
"type" : "value",
"path" : "url"
}],
"description" : "Extensions are always sliced by (at least) url",
"rules" : "open"
},
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "Dosage.doseAndRate.type",
"path" : "Dosage.doseAndRate.type",
"short" : "The kind of dose or rate specified",
"definition" : "The kind of dose or rate specified, for example, ordered or calculated.",
"requirements" : "If the type is not populated, assume to be \"ordered\".",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Dosage.doseAndRate.type",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "CodeableConcept"
}],
"isModifier" : false,
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "DoseAndRateType"
}],
"strength" : "example",
"description" : "The kind of dose or rate specified.",
"valueSet" : "http://hl7.org/fhir/ValueSet/dose-rate-type"
},
"mapping" : [{
"identity" : "v2",
"map" : "RXO-21; RXE-23"
}]
},
{
"id" : "Dosage.doseAndRate.dose[x]",
"path" : "Dosage.doseAndRate.dose[x]",
"short" : "Amount of medication per dose",
"definition" : "Amount of medication per dose.",
"comment" : "Note that this specifies the quantity of the specified medication, not the quantity for each active ingredient(s). Each ingredient amount can be communicated in the Medication resource. For example, if one wants to communicate that a tablet was 375 mg, where the dose was one tablet, you can use the Medication resource to document that the tablet was comprised of 375 mg of drug XYZ. Alternatively if the dose was 375 mg, then you may only need to use the Medication resource to indicate this was a tablet. If the example were an IV such as dopamine and you wanted to communicate that 400mg of dopamine was mixed in 500 ml of some IV solution, then this would all be communicated in the Medication resource. If the administration is not intended to be instantaneous (rate is present or timing has a duration), this can be specified to convey the total amount to be administered over the period of time as indicated by the schedule e.g. 500 ml in dose, with timing used to convey that this should be done over 4 hours.",
"requirements" : "The amount of therapeutic or other substance given at one administration event.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Dosage.doseAndRate.dose[x]",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "Range"
},
{
"code" : "Quantity",
"profile" : ["http://hl7.org/fhir/StructureDefinition/SimpleQuantity"]
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "RXO-2, RXE-3"
},
{
"identity" : "rim",
"map" : ".doseQuantity"
}]
},
{
"id" : "Dosage.doseAndRate.rate[x]",
"path" : "Dosage.doseAndRate.rate[x]",
"short" : "Amount of medication per unit of time",
"definition" : "Amount of medication per unit of time.",
"comment" : "It is possible to supply both a rate and a doseQuantity to provide full details about how the medication is to be administered and supplied. If the rate is intended to change over time, depending on local rules/regulations, each change should be captured as a new version of the MedicationRequest with an updated rate, or captured with a new MedicationRequest with the new rate.\r\rIt is possible to specify a rate over time (for example, 100 ml/hour) using either the rateRatio and rateQuantity. The rateQuantity approach requires systems to have the capability to parse UCUM grammer where ml/hour is included rather than a specific ratio where the time is specified as the denominator. Where a rate such as 500ml over 2 hours is specified, the use of rateRatio may be more semantically correct than specifying using a rateQuantity of 250 mg/hour.",
"requirements" : "Identifies the speed with which the medication was or will be introduced into the patient. Typically the rate for an infusion e.g. 100 ml per 1 hour or 100 ml/hr. May also be expressed as a rate per unit of time e.g. 500 ml per 2 hours. Other examples: 200 mcg/min or 200 mcg/1 minute; 1 liter/8 hours. Sometimes, a rate can imply duration when expressed as total volume / duration (e.g. 500mL/2 hours implies a duration of 2 hours). However, when rate doesn't imply duration (e.g. 250mL/hour), then the timing.repeat.duration is needed to convey the infuse over time period.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Dosage.doseAndRate.rate[x]",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "Ratio"
},
{
"code" : "Range"
},
{
"code" : "Quantity",
"profile" : ["http://hl7.org/fhir/StructureDefinition/SimpleQuantity"]
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "RXE22, RXE23, RXE-24"
},
{
"identity" : "rim",
"map" : ".rateQuantity"
}]
},
{
"id" : "Dosage.maxDosePerPeriod",
"path" : "Dosage.maxDosePerPeriod",
"short" : "Upper limit on medication per unit of time",
"definition" : "Upper limit on medication per unit of time.",
"comment" : "This is intended for use as an adjunct to the dosage when there is an upper cap. For example \"2 tablets every 4 hours to a maximum of 8/day\".",
"requirements" : "The maximum total quantity of a therapeutic substance that may be administered to a subject over the period of time. For example, 1000mg in 24 hours.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Dosage.maxDosePerPeriod",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "Ratio"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "RXO-23, RXE-19"
},
{
"identity" : "rim",
"map" : ".maxDoseQuantity"
}]
},
{
"id" : "Dosage.maxDosePerAdministration",
"path" : "Dosage.maxDosePerAdministration",
"short" : "Upper limit on medication per administration",
"definition" : "Upper limit on medication per administration.",
"comment" : "This is intended for use as an adjunct to the dosage when there is an upper cap. For example, a body surface area related dose with a maximum amount, such as 1.5 mg/m2 (maximum 2 mg) IV over 5 – 10 minutes would have doseQuantity of 1.5 mg/m2 and maxDosePerAdministration of 2 mg.",
"requirements" : "The maximum total quantity of a therapeutic substance that may be administered to a subject per administration.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Dosage.maxDosePerAdministration",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "Quantity",
"profile" : ["http://hl7.org/fhir/StructureDefinition/SimpleQuantity"]
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "not supported"
}]
},
{
"id" : "Dosage.maxDosePerLifetime",
"path" : "Dosage.maxDosePerLifetime",
"short" : "Upper limit on medication per lifetime of the patient",
"definition" : "Upper limit on medication per lifetime of the patient.",
"requirements" : "The maximum total quantity of a therapeutic substance that may be administered per lifetime of the subject.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Dosage.maxDosePerLifetime",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "Quantity",
"profile" : ["http://hl7.org/fhir/StructureDefinition/SimpleQuantity"]
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "not supported"
}]
}]
},
"differential" : {
"element" : [{
"id" : "Dosage",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "trial-use"
}],
"path" : "Dosage",
"short" : "How the medication is/was taken or should be taken",
"definition" : "Indicates how the medication is/was taken or should be taken by the patient.",
"min" : 0,
"max" : "*",
"mapping" : [{
"identity" : "rim",
"map" : ".outboundRelationship[typeCode=COMP].target[classCode=SBADM, moodCode=INT]"
}]
},
{
"id" : "Dosage.sequence",
"path" : "Dosage.sequence",
"short" : "The order of the dosage instructions",
"definition" : "Indicates the order in which the dosage instructions should be applied or interpreted.",
"requirements" : "If the sequence number of multiple Dosages is the same, then it is implied that the instructions are to be treated as concurrent. If the sequence number is different, then the Dosages are intended to be sequential.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "integer"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "TQ1-1"
},
{
"identity" : "rim",
"map" : ".text"
}]
},
{
"id" : "Dosage.text",
"path" : "Dosage.text",
"short" : "Free text dosage instructions e.g. SIG",
"definition" : "Free text dosage instructions e.g. SIG.",
"requirements" : "Free text dosage instructions can be used for cases where the instructions are too complex to code. The content of this attribute does not include the name or description of the medication. When coded instructions are present, the free text instructions may still be present for display to humans taking or administering the medication. It is expected that the text instructions will always be populated. If the dosage.timing attribute is also populated, then the dosage.text should reflect the same information as the timing. Additional information about administration or preparation of the medication should be included as text.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "string"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "RXO-6; RXE-21"
},
{
"identity" : "rim",
"map" : ".text"
}]
},
{
"id" : "Dosage.additionalInstruction",
"path" : "Dosage.additionalInstruction",
"short" : "Supplemental instruction or warnings to the patient - e.g. \"with meals\", \"may cause drowsiness\"",
"definition" : "Supplemental instructions to the patient on how to take the medication (e.g. \"with meals\" or\"take half to one hour before food\") or warnings for the patient about the medication (e.g. \"may cause drowsiness\" or \"avoid exposure of skin to direct sunlight or sunlamps\").",
"comment" : "Information about administration or preparation of the medication (e.g. \"infuse as rapidly as possibly via intraperitoneal port\" or \"immediately following drug x\") should be populated in dosage.text.",
"requirements" : "Additional instruction is intended to be coded, but where no code exists, the element could include text. For example, \"Swallow with plenty of water\" which might or might not be coded.",
"min" : 0,
"max" : "*",
"type" : [{
"code" : "CodeableConcept"
}],
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "AdditionalInstruction"
}],
"strength" : "example",
"description" : "A coded concept identifying additional instructions such as \"take with water\" or \"avoid operating heavy machinery\".",
"valueSet" : "http://hl7.org/fhir/ValueSet/additional-instruction-codes"
},
"mapping" : [{
"identity" : "v2",
"map" : "RXO-7"
},
{
"identity" : "rim",
"map" : ".text"
}]
},
{
"id" : "Dosage.patientInstruction",
"path" : "Dosage.patientInstruction",
"short" : "Patient or consumer oriented instructions",
"definition" : "Instructions in terms that are understood by the patient or consumer.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "string"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "RXO-7"
},
{
"identity" : "rim",
"map" : ".text"
}]
},
{
"id" : "Dosage.timing",
"path" : "Dosage.timing",
"short" : "When medication should be administered",
"definition" : "When medication should be administered.",
"comment" : "This attribute might not always be populated while the Dosage.text is expected to be populated. If both are populated, then the Dosage.text should reflect the content of the Dosage.timing.",
"requirements" : "The timing schedule for giving the medication to the patient. This data type allows many different expressions. For example: \"Every 8 hours\"; \"Three times a day\"; \"1/2 an hour before breakfast for 10 days from 23-Dec 2011:\"; \"15 Oct 2013, 17 Oct 2013 and 1 Nov 2013\". Sometimes, a rate can imply duration when expressed as total volume / duration (e.g. 500mL/2 hours implies a duration of 2 hours). However, when rate doesn't imply duration (e.g. 250mL/hour), then the timing.repeat.duration is needed to convey the infuse over time period.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "Timing"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : ".effectiveTime"
}]
},
{
"id" : "Dosage.asNeeded[x]",
"path" : "Dosage.asNeeded[x]",
"short" : "Take \"as needed\" (for x)",
"definition" : "Indicates whether the Medication is only taken when needed within a specific dosing schedule (Boolean option), or it indicates the precondition for taking the Medication (CodeableConcept).",
"comment" : "Can express \"as needed\" without a reason by setting the Boolean = True. In this case the CodeableConcept is not populated. Or you can express \"as needed\" with a reason by including the CodeableConcept. In this case the Boolean is assumed to be True. If you set the Boolean to False, then the dose is given according to the schedule and is not \"prn\" or \"as needed\".",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "boolean"
},
{
"code" : "CodeableConcept"
}],
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "MedicationAsNeededReason"
}],
"strength" : "example",
"description" : "A coded concept identifying the precondition that should be met or evaluated prior to consuming or administering a medication dose. For example \"pain\", \"30 minutes prior to sexual intercourse\", \"on flare-up\" etc.",
"valueSet" : "http://hl7.org/fhir/ValueSet/medication-as-needed-reason"
},
"mapping" : [{
"identity" : "v2",
"map" : "TQ1-9"
},
{
"identity" : "rim",
"map" : ".outboundRelationship[typeCode=PRCN].target[classCode=OBS, moodCode=EVN, code=\"as needed\"].value=boolean or codable concept"
}]
},
{
"id" : "Dosage.site",
"path" : "Dosage.site",
"short" : "Body site to administer to",
"definition" : "Body site to administer to.",
"comment" : "If the use case requires attributes from the BodySite resource (e.g. to identify and track separately) then use the standard extension [bodySite](extension-bodysite.html). May be a summary code, or a reference to a very precise definition of the location, or both.",
"requirements" : "A coded specification of the anatomic site where the medication first enters the body.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "CodeableConcept"
}],
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "MedicationAdministrationSite"
}],
"strength" : "example",
"description" : "A coded concept describing the site location the medicine enters into or onto the body.",
"valueSet" : "http://hl7.org/fhir/ValueSet/approach-site-codes"
},
"mapping" : [{
"identity" : "v2",
"map" : "RXR-2"
},
{
"identity" : "rim",
"map" : ".approachSiteCode"
}]
},
{
"id" : "Dosage.route",
"path" : "Dosage.route",
"short" : "How drug should enter body",
"definition" : "How drug should enter body.",
"requirements" : "A code specifying the route or physiological path of administration of a therapeutic agent into or onto a patient's body.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "CodeableConcept"
}],
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "RouteOfAdministration"
}],
"strength" : "example",
"description" : "A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject.",
"valueSet" : "http://hl7.org/fhir/ValueSet/route-codes"
},
"mapping" : [{
"identity" : "v2",
"map" : "RXR-1"
},
{
"identity" : "rim",
"map" : ".routeCode"
}]
},
{
"id" : "Dosage.method",
"path" : "Dosage.method",
"short" : "Technique for administering medication",
"definition" : "Technique for administering medication.",
"comment" : "Terminologies used often pre-coordinate this term with the route and or form of administration.",
"requirements" : "A coded value indicating the method by which the medication is introduced into or onto the body. Most commonly used for injections. For examples, Slow Push; Deep IV.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "CodeableConcept"
}],
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "MedicationAdministrationMethod"
}],
"strength" : "example",
"description" : "A coded concept describing the technique by which the medicine is administered.",
"valueSet" : "http://hl7.org/fhir/ValueSet/administration-method-codes"
},
"mapping" : [{
"identity" : "v2",
"map" : "RXR-4"
},
{
"identity" : "rim",
"map" : ".doseQuantity"
}]
},
{
"id" : "Dosage.doseAndRate",
"path" : "Dosage.doseAndRate",
"short" : "Amount of medication administered",
"definition" : "The amount of medication administered.",
"min" : 0,
"max" : "*",
"type" : [{
"code" : "Element"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "TQ1-2"
}]
},
{
"id" : "Dosage.doseAndRate.type",
"path" : "Dosage.doseAndRate.type",
"short" : "The kind of dose or rate specified",
"definition" : "The kind of dose or rate specified, for example, ordered or calculated.",
"requirements" : "If the type is not populated, assume to be \"ordered\".",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "CodeableConcept"
}],
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "DoseAndRateType"
}],
"strength" : "example",
"description" : "The kind of dose or rate specified.",
"valueSet" : "http://hl7.org/fhir/ValueSet/dose-rate-type"
},
"mapping" : [{
"identity" : "v2",
"map" : "RXO-21; RXE-23"
}]
},
{
"id" : "Dosage.doseAndRate.dose[x]",
"path" : "Dosage.doseAndRate.dose[x]",
"short" : "Amount of medication per dose",
"definition" : "Amount of medication per dose.",
"comment" : "Note that this specifies the quantity of the specified medication, not the quantity for each active ingredient(s). Each ingredient amount can be communicated in the Medication resource. For example, if one wants to communicate that a tablet was 375 mg, where the dose was one tablet, you can use the Medication resource to document that the tablet was comprised of 375 mg of drug XYZ. Alternatively if the dose was 375 mg, then you may only need to use the Medication resource to indicate this was a tablet. If the example were an IV such as dopamine and you wanted to communicate that 400mg of dopamine was mixed in 500 ml of some IV solution, then this would all be communicated in the Medication resource. If the administration is not intended to be instantaneous (rate is present or timing has a duration), this can be specified to convey the total amount to be administered over the period of time as indicated by the schedule e.g. 500 ml in dose, with timing used to convey that this should be done over 4 hours.",
"requirements" : "The amount of therapeutic or other substance given at one administration event.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "Range"
},
{
"code" : "Quantity",
"profile" : ["http://hl7.org/fhir/StructureDefinition/SimpleQuantity"]
}],
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "RXO-2, RXE-3"
},
{
"identity" : "rim",
"map" : ".doseQuantity"
}]
},
{
"id" : "Dosage.doseAndRate.rate[x]",
"path" : "Dosage.doseAndRate.rate[x]",
"short" : "Amount of medication per unit of time",
"definition" : "Amount of medication per unit of time.",
"comment" : "It is possible to supply both a rate and a doseQuantity to provide full details about how the medication is to be administered and supplied. If the rate is intended to change over time, depending on local rules/regulations, each change should be captured as a new version of the MedicationRequest with an updated rate, or captured with a new MedicationRequest with the new rate.\r\rIt is possible to specify a rate over time (for example, 100 ml/hour) using either the rateRatio and rateQuantity. The rateQuantity approach requires systems to have the capability to parse UCUM grammer where ml/hour is included rather than a specific ratio where the time is specified as the denominator. Where a rate such as 500ml over 2 hours is specified, the use of rateRatio may be more semantically correct than specifying using a rateQuantity of 250 mg/hour.",
"requirements" : "Identifies the speed with which the medication was or will be introduced into the patient. Typically the rate for an infusion e.g. 100 ml per 1 hour or 100 ml/hr. May also be expressed as a rate per unit of time e.g. 500 ml per 2 hours. Other examples: 200 mcg/min or 200 mcg/1 minute; 1 liter/8 hours. Sometimes, a rate can imply duration when expressed as total volume / duration (e.g. 500mL/2 hours implies a duration of 2 hours). However, when rate doesn't imply duration (e.g. 250mL/hour), then the timing.repeat.duration is needed to convey the infuse over time period.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "Ratio"
},
{
"code" : "Range"
},
{
"code" : "Quantity",
"profile" : ["http://hl7.org/fhir/StructureDefinition/SimpleQuantity"]
}],
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "RXE22, RXE23, RXE-24"
},
{
"identity" : "rim",
"map" : ".rateQuantity"
}]
},
{
"id" : "Dosage.maxDosePerPeriod",
"path" : "Dosage.maxDosePerPeriod",
"short" : "Upper limit on medication per unit of time",
"definition" : "Upper limit on medication per unit of time.",
"comment" : "This is intended for use as an adjunct to the dosage when there is an upper cap. For example \"2 tablets every 4 hours to a maximum of 8/day\".",
"requirements" : "The maximum total quantity of a therapeutic substance that may be administered to a subject over the period of time. For example, 1000mg in 24 hours.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "Ratio"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "RXO-23, RXE-19"
},
{
"identity" : "rim",
"map" : ".maxDoseQuantity"
}]
},
{
"id" : "Dosage.maxDosePerAdministration",
"path" : "Dosage.maxDosePerAdministration",
"short" : "Upper limit on medication per administration",
"definition" : "Upper limit on medication per administration.",
"comment" : "This is intended for use as an adjunct to the dosage when there is an upper cap. For example, a body surface area related dose with a maximum amount, such as 1.5 mg/m2 (maximum 2 mg) IV over 5 – 10 minutes would have doseQuantity of 1.5 mg/m2 and maxDosePerAdministration of 2 mg.",
"requirements" : "The maximum total quantity of a therapeutic substance that may be administered to a subject per administration.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "Quantity",
"profile" : ["http://hl7.org/fhir/StructureDefinition/SimpleQuantity"]
}],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "not supported"
}]
},
{
"id" : "Dosage.maxDosePerLifetime",
"path" : "Dosage.maxDosePerLifetime",
"short" : "Upper limit on medication per lifetime of the patient",
"definition" : "Upper limit on medication per lifetime of the patient.",
"requirements" : "The maximum total quantity of a therapeutic substance that may be administered per lifetime of the subject.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "Quantity",
"profile" : ["http://hl7.org/fhir/StructureDefinition/SimpleQuantity"]
}],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "not supported"
}]
}]
}
}
},
{
"fullUrl" : "http://hl7.org/fhir/StructureDefinition/Duration",
"resource" : {
"resourceType" : "StructureDefinition",
"id" : "Duration",
"meta" : {
"lastUpdated" : "2018-12-27T22:37:54.724+11:00"
},
"text" : {
"status" : "generated",
"div" : "
"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/Duration",
"version" : "4.0.0",
"name" : "Duration",
"status" : "active",
"date" : "2018-12-27T22:37:54+11:00",
"publisher" : "HL7 FHIR Standard",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
}]
}],
"description" : "Base StructureDefinition for Duration Type: A length of time.",
"fhirVersion" : "4.0.0",
"mapping" : [{
"identity" : "rim",
"uri" : "http://hl7.org/v3",
"name" : "RIM Mapping"
},
{
"identity" : "v2",
"uri" : "http://hl7.org/v2",
"name" : "HL7 v2 Mapping"
}],
"kind" : "complex-type",
"abstract" : false,
"type" : "Duration",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Quantity",
"derivation" : "specialization",
"snapshot" : {
"element" : [{
"id" : "Duration",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"path" : "Duration",
"short" : "A length of time",
"definition" : "A length of time.",
"comment" : "The context of use may frequently define what kind of quantity this is and therefore what kind of units can be used. The context of use may also restrict the values for the comparator.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "Duration",
"min" : 0,
"max" : "*"
},
"constraint" : [{
"key" : "qty-3",
"severity" : "error",
"human" : "If a code for the unit is present, the system SHALL also be present",
"expression" : "code.empty() or system.exists()",
"xpath" : "not(exists(f:code)) or exists(f:system)",
"source" : "Quantity"
},
{
"key" : "drt-1",
"severity" : "error",
"human" : "There SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM.",
"expression" : "code.exists() implies ((system = %ucum) and value.exists())",
"xpath" : "(f:code or not(f:value)) and (not(exists(f:system)) or f:system/@value='http://unitsofmeasure.org')"
}],
"isModifier" : false,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
"valueCanonical" : "http://hl7.org/fhir/ValueSet/all-time-units"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "DurationUnits"
}],
"strength" : "extensible",
"description" : "Appropriate units for Duration.",
"valueSet" : "http://hl7.org/fhir/ValueSet/duration-units"
},
"mapping" : [{
"identity" : "v2",
"map" : "SN (see also Range) or CQ"
},
{
"identity" : "rim",
"map" : "PQ, IVL, MO, CO, depending on the values"
},
{
"identity" : "rim",
"map" : "PQ, IVL depending on the values"
}]
},
{
"id" : "Duration.id",
"path" : "Duration.id",
"representation" : ["xmlAttr"],
"short" : "Unique id for inter-element referencing",
"definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "Duration.extension",
"path" : "Duration.extension",
"slicing" : {
"discriminator" : [{
"type" : "value",
"path" : "url"
}],
"description" : "Extensions are always sliced by (at least) url",
"rules" : "open"
},
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "Duration.value",
"path" : "Duration.value",
"short" : "Numerical value (with implicit precision)",
"definition" : "The value of the measured amount. The value includes an implicit precision in the presentation of the value.",
"comment" : "The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).",
"requirements" : "Precision is handled implicitly in almost all cases of measurement.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Quantity.value",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "decimal"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "SN.2 / CQ - N/A"
},
{
"identity" : "rim",
"map" : "PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value"
}]
},
{
"id" : "Duration.comparator",
"path" : "Duration.comparator",
"short" : "< | <= | >= | > - how to understand the value",
"definition" : "How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \"<\" , then the real value is < stated value.",
"requirements" : "Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Quantity.comparator",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "code"
}],
"meaningWhenMissing" : "If there is no comparator, then there is no modification of the value",
"isModifier" : true,
"isModifierReason" : "This is labeled as \"Is Modifier\" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value",
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "QuantityComparator"
}],
"strength" : "required",
"description" : "How the Quantity should be understood and represented.",
"valueSet" : "http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.0"
},
"mapping" : [{
"identity" : "v2",
"map" : "SN.1 / CQ.1"
},
{
"identity" : "rim",
"map" : "IVL properties"
}]
},
{
"id" : "Duration.unit",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean" : true
}],
"path" : "Duration.unit",
"short" : "Unit representation",
"definition" : "A human-readable form of the unit.",
"requirements" : "There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Quantity.unit",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "(see OBX.6 etc.) / CQ.2"
},
{
"identity" : "rim",
"map" : "PQ.unit"
}]
},
{
"id" : "Duration.system",
"path" : "Duration.system",
"short" : "System that defines coded unit form",
"definition" : "The identification of the system that provides the coded form of the unit.",
"requirements" : "Need to know the system that defines the coded form of the unit.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Quantity.system",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "uri"
}],
"condition" : ["qty-3"],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "(see OBX.6 etc.) / CQ.2"
},
{
"identity" : "rim",
"map" : "CO.codeSystem, PQ.translation.codeSystem"
}]
},
{
"id" : "Duration.code",
"path" : "Duration.code",
"short" : "Coded form of the unit",
"definition" : "A computer processable form of the unit in some unit representation system.",
"comment" : "The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system.",
"requirements" : "Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Quantity.code",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "code"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "(see OBX.6 etc.) / CQ.2"
},
{
"identity" : "rim",
"map" : "PQ.code, MO.currency, PQ.translation.code"
}]
}]
},
"differential" : {
"element" : [{
"id" : "Duration",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"path" : "Duration",
"short" : "A length of time",
"definition" : "A length of time.",
"min" : 0,
"max" : "*",
"constraint" : [{
"key" : "drt-1",
"severity" : "error",
"human" : "There SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM.",
"expression" : "code.exists() implies ((system = %ucum) and value.exists())",
"xpath" : "(f:code or not(f:value)) and (not(exists(f:system)) or f:system/@value='http://unitsofmeasure.org')"
}],
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
"valueCanonical" : "http://hl7.org/fhir/ValueSet/all-time-units"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "DurationUnits"
}],
"strength" : "extensible",
"description" : "Appropriate units for Duration.",
"valueSet" : "http://hl7.org/fhir/ValueSet/duration-units"
},
"mapping" : [{
"identity" : "rim",
"map" : "PQ, IVL depending on the values"
}]
}]
}
}
},
{
"fullUrl" : "http://hl7.org/fhir/StructureDefinition/ElementDefinition",
"resource" : {
"resourceType" : "StructureDefinition",
"id" : "ElementDefinition",
"meta" : {
"lastUpdated" : "2018-12-27T22:37:54.724+11:00"
},
"text" : {
"status" : "generated",
"div" : "
Definition of an element in a resource or extension + Rule: Min <= Max + Rule: if the element definition has a contentReference, it cannot have type, defaultValue, fixed, pattern, example, minValue, maxValue, maxLength, or binding + Rule: Fixed value may only be specified if there is one type + Rule: Pattern may only be specified if there is one type + Rule: Pattern and value are mutually exclusive + Rule: Binding can only be present for coded elements, string, and uri + Rule: Types must be unique by code + Rule: Constraints must be unique by key + Rule: default value and meaningWhenMissing are mutually exclusive + Rule: sliceName must be composed of proper tokens separated by "/" + Rule: Must have a modifier reason if isModifier = true + Rule: Element names cannot include some special characters + Warning: Element names should be simple alphanumerics with a max of 64 characters, or code generation tools may be broken + Rule: sliceIsConstraining can only appear if slicename is present Elements defined in Ancestors: id, extension, modifierExtension
Data type and Profile for this element + Rule: Aggregation may only be specified if one of the allowed types for the element is a reference + Rule: targetProfile is only allowed if the type is Reference or canonical
"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/ElementDefinition",
"version" : "4.0.0",
"name" : "ElementDefinition",
"status" : "active",
"date" : "2018-12-27T22:37:54+11:00",
"publisher" : "HL7 FHIR Standard",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
}]
}],
"description" : "Base StructureDefinition for ElementDefinition Type: Captures constraints on each element within the resource, profile, or extension.",
"fhirVersion" : "4.0.0",
"mapping" : [{
"identity" : "v2",
"uri" : "http://hl7.org/v2",
"name" : "HL7 v2 Mapping"
},
{
"identity" : "rim",
"uri" : "http://hl7.org/v3",
"name" : "RIM Mapping"
},
{
"identity" : "iso11179",
"uri" : "http://metadata-standards.org/11179/",
"name" : "ISO 11179"
},
{
"identity" : "dex",
"uri" : "http://ihe.net/data-element-exchange",
"name" : "IHE Data Element Exchange (DEX)"
},
{
"identity" : "loinc",
"uri" : "http://loinc.org",
"name" : "LOINC code for the element"
}],
"kind" : "complex-type",
"abstract" : false,
"type" : "ElementDefinition",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/BackboneElement",
"derivation" : "specialization",
"snapshot" : {
"element" : [{
"id" : "ElementDefinition",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"path" : "ElementDefinition",
"short" : "Definition of an element in a resource or extension",
"definition" : "Captures constraints on each element within the resource, profile, or extension.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "ElementDefinition",
"min" : 0,
"max" : "*"
},
"constraint" : [{
"key" : "eld-19",
"severity" : "error",
"human" : "Element names cannot include some special characters",
"expression" : "path.matches('[^\\\\s\\\\.,:;\\\\\\'\"\\\\/|?!@#$%&*()\\\\[\\\\]{}]{1,64}(\\\\.[^\\\\s\\\\.,:;\\\\\\'\"\\\\/|?!@#$%&*()\\\\[\\\\]{}]{1,64}(\\\\[x\\\\])?(\\\\:[^\\\\s\\\\.]+)?)*')",
"xpath" : "matches(path/@value, '[^\\s\\.,:;\\'"\\/|?!@#$%&*()\\[\\]{}]{1,64}(\\.[^\\s\\.,:;\\'"\\/|?!@#$%&*()\\[\\]{}]{1,64}(\\[x\\])?(\\:[^\\s\\.]+)?)*')"
},
{
"key" : "eld-2",
"severity" : "error",
"human" : "Min <= Max",
"expression" : "min.empty() or max.empty() or (max = '*') or iif(max != '*', min <= max.toInteger())",
"xpath" : "not(exists(f:min)) or not(exists(f:max)) or (not(f:max/@value) and not(f:min/@value)) or (f:max/@value = '*') or (number(f:max/@value) >= f:min/@value)"
},
{
"key" : "eld-5",
"severity" : "error",
"human" : "if the element definition has a contentReference, it cannot have type, defaultValue, fixed, pattern, example, minValue, maxValue, maxLength, or binding",
"expression" : "contentReference.empty() or (type.empty() and defaultValue.empty() and fixed.empty() and pattern.empty() and example.empty() and minValue.empty() and maxValue.empty() and maxLength.empty() and binding.empty())",
"xpath" : "not(exists(f:contentReference) and (exists(f:type) or exists(f:*[starts-with(local-name(.), 'value')]) or exists(f:*[starts-with(local-name(.), 'defaultValue')]) or exists(f:*[starts-with(local-name(.), 'fixed')]) or exists(f:*[starts-with(local-name(.), 'pattern')]) or exists(f:*[starts-with(local-name(.), 'example')]) or exists(f:*[starts-with(local-name(.), 'f:minValue')]) or exists(f:*[starts-with(local-name(.), 'f:maxValue')]) or exists(f:maxLength) or exists(f:binding)))"
},
{
"key" : "eld-7",
"severity" : "error",
"human" : "Pattern may only be specified if there is one type",
"expression" : "pattern.empty() or (type.count() <= 1)",
"xpath" : "not(exists(f:*[starts-with(local-name(.), 'pattern')])) or (count(f:type)<=1)"
},
{
"key" : "eld-6",
"severity" : "error",
"human" : "Fixed value may only be specified if there is one type",
"expression" : "fixed.empty() or (type.count() <= 1)",
"xpath" : "not(exists(f:*[starts-with(local-name(.), 'fixed')])) or (count(f:type)<=1)"
},
{
"key" : "eld-11",
"severity" : "error",
"human" : "Binding can only be present for coded elements, string, and uri",
"expression" : "binding.empty() or type.code.empty() or type.select((code = 'code') or (code = 'Coding') or (code='CodeableConcept') or (code = 'Quantity') or (code = 'string') or (code = 'uri')).exists()",
"xpath" : "not(exists(f:binding)) or (count(f:type/f:code) = 0) or f:type/f:code/@value=('code','Coding','CodeableConcept','Quantity','string', 'uri')"
},
{
"key" : "eld-22",
"severity" : "error",
"human" : "sliceIsConstraining can only appear if slicename is present",
"expression" : "sliceIsConstraining.exists() implies sliceName.exists()",
"xpath" : "exists(f:sliceName) or not(exists(f:sliceIsConstraining))"
},
{
"key" : "eld-8",
"severity" : "error",
"human" : "Pattern and value are mutually exclusive",
"expression" : "pattern.empty() or fixed.empty()",
"xpath" : "not(exists(f:*[starts-with(local-name(.), 'pattern')])) or not(exists(f:*[starts-with(local-name(.), 'fixed')]))"
},
{
"key" : "eld-14",
"severity" : "error",
"human" : "Constraints must be unique by key",
"expression" : "constraint.select(key).isDistinct()",
"xpath" : "count(f:constraint) = count(distinct-values(f:constraint/f:key/@value))"
},
{
"key" : "eld-13",
"severity" : "error",
"human" : "Types must be unique by code",
"expression" : "type.select(code).isDistinct()",
"xpath" : "not(exists(for $type in f:type return $type/preceding-sibling::f:type[f:code/@value=$type/f:code/@value]))"
},
{
"key" : "eld-16",
"severity" : "error",
"human" : "sliceName must be composed of proper tokens separated by \"/\"",
"expression" : "sliceName.empty() or sliceName.matches('^[a-zA-Z0-9\\\\/\\\\-_\\\\[\\\\]\\\\@]+$')",
"xpath" : "not(exists(f:sliceName/@value)) or matches(f:sliceName/@value, '^[a-zA-Z0-9\\/\\-_\\[\\]\\@]+$')"
},
{
"key" : "eld-15",
"severity" : "error",
"human" : "default value and meaningWhenMissing are mutually exclusive",
"expression" : "defaultValue.empty() or meaningWhenMissing.empty()",
"xpath" : "not(exists(f:*[starts-with(local-name(.), 'fixed')])) or not(exists(f:meaningWhenMissing))"
},
{
"key" : "eld-18",
"severity" : "error",
"human" : "Must have a modifier reason if isModifier = true",
"expression" : "isModifier implies isModifierReason.exists()",
"xpath" : "not(f:isModifier/@value = 'true') or exists(f:isModifierReason)"
},
{
"key" : "eld-20",
"severity" : "warning",
"human" : "Element names should be simple alphanumerics with a max of 64 characters, or code generation tools may be broken",
"expression" : "path.matches('[A-Za-z][A-Za-z0-9]*(\\\\.[a-z][A-Za-z0-9]*(\\\\[x])?)*')",
"xpath" : "matches(path/@value, '[A-Za-z][A-Za-z0-9]*(\\.[a-z][A-Za-z0-9]*(\\[x])?)*')"
}],
"isModifier" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
},
{
"identity" : "v2",
"map" : "OM1"
},
{
"identity" : "rim",
"map" : "Observation[classCode=OBS, moodCode=DEFN]"
},
{
"identity" : "iso11179",
"map" : "Data_Element"
},
{
"identity" : "dex",
"map" : "RetrieveMetadata response"
}]
},
{
"id" : "ElementDefinition.id",
"path" : "ElementDefinition.id",
"representation" : ["xmlAttr"],
"short" : "Unique id for inter-element referencing",
"definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "ElementDefinition.extension",
"path" : "ElementDefinition.extension",
"slicing" : {
"discriminator" : [{
"type" : "value",
"path" : "url"
}],
"description" : "Extensions are always sliced by (at least) url",
"rules" : "open"
},
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "ElementDefinition.modifierExtension",
"path" : "ElementDefinition.modifierExtension",
"short" : "Extensions that cannot be ignored even if unrecognized",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).",
"alias" : ["extensions",
"user content",
"modifiers"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "BackboneElement.modifierExtension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : true,
"isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A"
}]
},
{
"id" : "ElementDefinition.path",
"path" : "ElementDefinition.path",
"short" : "Path of the element in the hierarchy of elements",
"definition" : "The path identifies the element and is expressed as a \".\"-separated list of ancestor elements, beginning with the name of the resource or extension.",
"min" : 1,
"max" : "1",
"base" : {
"path" : "ElementDefinition.path",
"min" : 1,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "N/A"
},
{
"identity" : "rim",
"map" : "N/A"
},
{
"identity" : "iso11179",
"map" : "Name, Identifier & Context"
}]
},
{
"id" : "ElementDefinition.representation",
"path" : "ElementDefinition.representation",
"short" : "xmlAttr | xmlText | typeAttr | cdaText | xhtml",
"definition" : "Codes that define how this element is represented in instances, when the deviation varies from the normal case.",
"comment" : "In resources, this is rarely used except for special cases where the representation deviates from the normal, and can only be done in the base standard (and profiles must reproduce what the base standard does). This element is used quite commonly in Logical models when the logical models represent a specific serialization format (e.g. CDA, v2 etc.).",
"min" : 0,
"max" : "*",
"base" : {
"path" : "ElementDefinition.representation",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "code"
}],
"isModifier" : false,
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "PropertyRepresentation"
}],
"strength" : "required",
"description" : "How a property is represented when serialized.",
"valueSet" : "http://hl7.org/fhir/ValueSet/property-representation|4.0.0"
},
"mapping" : [{
"identity" : "v2",
"map" : "N/A"
},
{
"identity" : "rim",
"map" : "N/A"
},
{
"identity" : "iso11179",
"map" : "n/a"
}]
},
{
"id" : "ElementDefinition.sliceName",
"path" : "ElementDefinition.sliceName",
"short" : "Name for this particular element (in a set of slices)",
"definition" : "The name of this element definition slice, when slicing is working. The name must be a token with no dots or spaces. This is a unique name referring to a specific set of constraints applied to this element, used to provide a name to different slices of the same element.",
"comment" : "The name SHALL be unique within the structure within the context of the constrained resource element. (Though to avoid confusion, uniqueness across all elements is recommended.).",
"requirements" : "May also be used for code generation purposes.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "ElementDefinition.sliceName",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "N/A"
},
{
"identity" : "rim",
"map" : "N/A"
},
{
"identity" : "iso11179",
"map" : "n/a"
}]
},
{
"id" : "ElementDefinition.sliceIsConstraining",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "trial-use"
}],
"path" : "ElementDefinition.sliceIsConstraining",
"short" : "If this slice definition constrains an inherited slice definition (or not)",
"definition" : "If true, indicates that this slice definition is constraining a slice definition with the same name in an inherited profile. If false, the slice is not overriding any slice in an inherited profile. If missing, the slice might or might not be overriding a slice in an inherited profile, depending on the sliceName.",
"comment" : "If set to true, an ancestor profile SHALL have a slicing definition with this name. If set to false, no ancestor profile is permitted to have a slicing definition with this name.",
"requirements" : "Allows detection of a situation where an ancestor profile adds or removes slicing with the same name where that might impact the child profile.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "ElementDefinition.sliceIsConstraining",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "boolean"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "N/A"
},
{
"identity" : "rim",
"map" : "N/A"
},
{
"identity" : "iso11179",
"map" : "n/a"
}]
},
{
"id" : "ElementDefinition.label",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean" : true
}],
"path" : "ElementDefinition.label",
"short" : "Name for element to display with or prompt for element",
"definition" : "A single preferred label which is the text to display beside the element indicating its meaning or to use to prompt for the element in a user display or form.",
"comment" : "See also the extension (http://hl7.org/fhir/StructureDefinition/elementdefinition-question)[extension-elementdefinition-question.html].",
"min" : 0,
"max" : "1",
"base" : {
"path" : "ElementDefinition.label",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "./code/display"
},
{
"identity" : "iso11179",
"map" : "n/a"
}]
},
{
"id" : "ElementDefinition.code",
"path" : "ElementDefinition.code",
"short" : "Corresponding codes in terminologies",
"definition" : "A code that has the same meaning as the element in a particular terminology.",
"comment" : "The concept SHALL be properly aligned with the data element definition and other constraints, as defined in the code system, including relationships, of any code listed here. Where multiple codes exist in a terminology that could correspond to the data element, the most granular code(s) should be selected, so long as they are not more restrictive than the data element itself. The mappings may be used to provide more or less granular or structured equivalences in the code system.",
"requirements" : "Links the meaning of an element to an external terminology, and is very useful for searching and indexing.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "ElementDefinition.code",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Coding"
}],
"isModifier" : false,
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "ElementDefinitionCode"
}],
"strength" : "example",
"description" : "Codes that indicate the meaning of a data element.",
"valueSet" : "http://hl7.org/fhir/ValueSet/observation-codes"
},
"mapping" : [{
"identity" : "v2",
"map" : "OM1.7"
},
{
"identity" : "rim",
"map" : "./code (root or translation)"
},
{
"identity" : "iso11179",
"map" : "(Data_Element).data_element_concept.identifier"
},
{
"identity" : "loinc",
"map" : "LOINC_NUM"
}]
},
{
"id" : "ElementDefinition.slicing",
"path" : "ElementDefinition.slicing",
"short" : "This element is sliced - slices follow",
"definition" : "Indicates that the element is sliced into a set of alternative definitions (i.e. in a structure definition, there are multiple different constraints on a single element in the base resource). Slicing can be used in any resource that has cardinality ..* on the base resource, or any resource with a choice of types. The set of slices is any elements that come after this in the element sequence that have the same path, until a shorter path occurs (the shorter path terminates the set).",
"comment" : "The first element in the sequence, the one that carries the slicing, is the definition that applies to all the slices. This is based on the unconstrained element, but can apply any constraints as appropriate. This may include the common constraints on the children of the element.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "ElementDefinition.slicing",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "Element"
}],
"constraint" : [{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() or (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "Element"
},
{
"key" : "eld-1",
"severity" : "error",
"human" : "If there are no discriminators, there must be a definition",
"expression" : "discriminator.exists() or description.exists()",
"xpath" : "(f:discriminator) or (f:description)"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A"
},
{
"identity" : "iso11179",
"map" : "n/a"
}]
},
{
"id" : "ElementDefinition.slicing.id",
"path" : "ElementDefinition.slicing.id",
"representation" : ["xmlAttr"],
"short" : "Unique id for inter-element referencing",
"definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "ElementDefinition.slicing.extension",
"path" : "ElementDefinition.slicing.extension",
"slicing" : {
"discriminator" : [{
"type" : "value",
"path" : "url"
}],
"description" : "Extensions are always sliced by (at least) url",
"rules" : "open"
},
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "ElementDefinition.slicing.discriminator",
"path" : "ElementDefinition.slicing.discriminator",
"short" : "Element values that are used to distinguish the slices",
"definition" : "Designates which child elements are used to discriminate between the slices when processing an instance. If one or more discriminators are provided, the value of the child elements in the instance data SHALL completely distinguish which slice the element in the resource matches based on the allowed values for those elements in each of the slices.",
"comment" : "If there is no discriminator, the content is hard to process, so this should be avoided.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "ElementDefinition.slicing.discriminator",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Element"
}],
"constraint" : [{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() or (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "Element"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A"
},
{
"identity" : "iso11179",
"map" : "n/a"
}]
},
{
"id" : "ElementDefinition.slicing.discriminator.id",
"path" : "ElementDefinition.slicing.discriminator.id",
"representation" : ["xmlAttr"],
"short" : "Unique id for inter-element referencing",
"definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "ElementDefinition.slicing.discriminator.extension",
"path" : "ElementDefinition.slicing.discriminator.extension",
"slicing" : {
"discriminator" : [{
"type" : "value",
"path" : "url"
}],
"description" : "Extensions are always sliced by (at least) url",
"rules" : "open"
},
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "ElementDefinition.slicing.discriminator.type",
"path" : "ElementDefinition.slicing.discriminator.type",
"short" : "value | exists | pattern | type | profile",
"definition" : "How the element value is interpreted when discrimination is evaluated.",
"min" : 1,
"max" : "1",
"base" : {
"path" : "ElementDefinition.slicing.discriminator.type",
"min" : 1,
"max" : "1"
},
"type" : [{
"code" : "code"
}],
"isModifier" : false,
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "DiscriminatorType"
}],
"strength" : "required",
"description" : "How an element value is interpreted when discrimination is evaluated.",
"valueSet" : "http://hl7.org/fhir/ValueSet/discriminator-type|4.0.0"
},
"mapping" : [{
"identity" : "rim",
"map" : "N/A"
}]
},
{
"id" : "ElementDefinition.slicing.discriminator.path",
"path" : "ElementDefinition.slicing.discriminator.path",
"short" : "Path to element value",
"definition" : "A FHIRPath expression, using [the simple subset of FHIRPath](fhirpath.html#simple), that is used to identify the element on which discrimination is based.",
"comment" : "The only FHIRPath functions that are allowed are as(type), resolve(), and extension(url).",
"min" : 1,
"max" : "1",
"base" : {
"path" : "ElementDefinition.slicing.discriminator.path",
"min" : 1,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A"
},
{
"identity" : "iso11179",
"map" : "n/a"
}]
},
{
"id" : "ElementDefinition.slicing.description",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean" : true
}],
"path" : "ElementDefinition.slicing.description",
"short" : "Text description of how slicing works (or not)",
"definition" : "A human-readable text description of how the slicing works. If there is no discriminator, this is required to be present to provide whatever information is possible about how the slices can be differentiated.",
"comment" : "If it's really not possible to differentiate them, the design should be re-evaluated to make the content usable.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "ElementDefinition.slicing.description",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"condition" : ["eld-1"],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A"
}]
},
{
"id" : "ElementDefinition.slicing.ordered",
"path" : "ElementDefinition.slicing.ordered",
"short" : "If elements must be in same order as slices",
"definition" : "If the matching elements have to occur in the same order as defined in the profile.",
"comment" : "Order should only be required when it is a pressing concern for presentation. Profile authors should consider making the order a feature of the rules about the narrative, not the rules about the data - requiring ordered data makes the profile much less re-usable.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "ElementDefinition.slicing.ordered",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "boolean"
}],
"meaningWhenMissing" : "Order is not required unless specified",
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A"
},
{
"identity" : "iso11179",
"map" : "n/a"
}]
},
{
"id" : "ElementDefinition.slicing.rules",
"path" : "ElementDefinition.slicing.rules",
"short" : "closed | open | openAtEnd",
"definition" : "Whether additional slices are allowed or not. When the slices are ordered, profile authors can also say that additional slices are only allowed at the end.",
"comment" : "Allowing additional elements makes for a much for flexible template - it's open for use in wider contexts, but also means that the content of the resource is not closed, and applications have to decide how to handle content not described by the profile.",
"min" : 1,
"max" : "1",
"base" : {
"path" : "ElementDefinition.slicing.rules",
"min" : 1,
"max" : "1"
},
"type" : [{
"code" : "code"
}],
"isModifier" : false,
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "SlicingRules"
}],
"strength" : "required",
"description" : "How slices are interpreted when evaluating an instance.",
"valueSet" : "http://hl7.org/fhir/ValueSet/resource-slicing-rules|4.0.0"
},
"mapping" : [{
"identity" : "rim",
"map" : "N/A"
},
{
"identity" : "iso11179",
"map" : "n/a"
}]
},
{
"id" : "ElementDefinition.short",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean" : true
}],
"path" : "ElementDefinition.short",
"short" : "Concise definition for space-constrained presentation",
"definition" : "A concise description of what this element means (e.g. for use in autogenerated summaries).",
"comment" : "It is easy for a different short definition to change the meaning of an element and this can have nasty downstream consequences. Please be careful when providing short definitions in a profile.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "ElementDefinition.short",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A"
},
{
"identity" : "iso11179",
"map" : "N/A"
}]
},
{
"id" : "ElementDefinition.definition",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean" : true
}],
"path" : "ElementDefinition.definition",
"short" : "Full formal definition as narrative text",
"definition" : "Provides a complete explanation of the meaning of the data element for human readability. For the case of elements derived from existing elements (e.g. constraints), the definition SHALL be consistent with the base definition, but convey the meaning of the element in the particular context of use of the resource. (Note: The text you are reading is specified in ElementDefinition.definition).",
"comment" : "It is easy for a different definition to change the meaning of an element and this can have nasty downstream consequences. Please be careful when providing definitions in a profile.",
"requirements" : "To allow a user to state the usage of an element in a particular context.",
"alias" : ["Description"],
"min" : 0,
"max" : "1",
"base" : {
"path" : "ElementDefinition.definition",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "markdown"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "OM1.6, OM1.41"
},
{
"identity" : "rim",
"map" : "./text"
},
{
"identity" : "iso11179",
"map" : "(Designatable_Item).definition.text acceptability=preferred in default context"
},
{
"identity" : "loinc",
"map" : "TERM DEFINITION/DESCRIPTION(S)"
}]
},
{
"id" : "ElementDefinition.comment",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean" : true
}],
"path" : "ElementDefinition.comment",
"short" : "Comments about the use of this element",
"definition" : "Explanatory notes and implementation guidance about the data element, including notes about how to use the data properly, exceptions to proper use, etc. (Note: The text you are reading is specified in ElementDefinition.comment).",
"comment" : "If it is possible to capture usage rules using constraints, that mechanism should be used in preference to this element.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "ElementDefinition.comment",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "markdown"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "NTE, OM1.32, OM1.33, OM1.39"
},
{
"identity" : "rim",
"map" : "./inboundRelationship[typeCode=SUBJ]/source[classCode=LIST, moodCode=EVN]/code"
},
{
"identity" : "iso11179",
"map" : "(Administered_Item).explanatory_comment"
},
{
"identity" : "loinc",
"map" : "COMMENTS"
}]
},
{
"id" : "ElementDefinition.requirements",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean" : true
}],
"path" : "ElementDefinition.requirements",
"short" : "Why this resource has been created",
"definition" : "This element is for traceability of why the element was created and why the constraints exist as they do. This may be used to point to source materials or specifications that drove the structure of this element.",
"comment" : "This element does not describe the usage of the element (that's done in comments), rather it's for traceability of *why* the element is either needed or why the constraints exist as they do. This may be used to point to source materials or specifications that drove the structure of this data element.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "ElementDefinition.requirements",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "markdown"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "./inboundRelationship[typeCode=META]/source[classCode=ACT, moodCode=EVN, isCriterionInd=true]/reasonCode/originalText"
},
{
"identity" : "iso11179",
"map" : "(Registered_item).document_reference[document_type=requirements].notation"
}]
},
{
"id" : "ElementDefinition.alias",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean" : true
}],
"path" : "ElementDefinition.alias",
"short" : "Other names",
"definition" : "Identifies additional names by which this element might also be known.",
"requirements" : "Allows for better easier recognition of the element by multiple communities, including international communities.",
"alias" : ["synonym",
"other name"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "ElementDefinition.alias",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "OM1.8, OM1.52"
},
{
"identity" : "rim",
"map" : "Not currently expressible"
},
{
"identity" : "iso11179",
"map" : "(Designatable_Item).designation.sign acceptability!=preferred or context is other than default"
},
{
"identity" : "loinc",
"map" : "RELATED NAMES (only some of these apply)"
}]
},
{
"id" : "ElementDefinition.min",
"path" : "ElementDefinition.min",
"short" : "Minimum Cardinality",
"definition" : "The minimum number of times this element SHALL appear in the instance.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "ElementDefinition.min",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "unsignedInt"
}],
"condition" : ["eld-2"],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
},
{
"identity" : "iso11179",
"map" : "Minimum size of data element values?"
}]
},
{
"id" : "ElementDefinition.max",
"path" : "ElementDefinition.max",
"short" : "Maximum Cardinality (a number or *)",
"definition" : "The maximum number of times this element is permitted to appear in the instance.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "ElementDefinition.max",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"condition" : ["eld-3",
"eld-2"],
"constraint" : [{
"key" : "eld-3",
"severity" : "error",
"human" : "Max SHALL be a number or \"*\"",
"expression" : "empty() or ($this = '*') or (toInteger() >= 0)",
"xpath" : "@value='*' or (normalize-space(@value)!='' and normalize-space(translate(@value, '0123456789',''))='')"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "OMC.10"
},
{
"identity" : "rim",
"map" : "N/A (MIF territory)"
},
{
"identity" : "iso11179",
"map" : "Maximum size of data element values?"
}]
},
{
"id" : "ElementDefinition.base",
"path" : "ElementDefinition.base",
"short" : "Base definition information for tools",
"definition" : "Information about the base definition of the element, provided to make it unnecessary for tools to trace the deviation of the element through the derived and related profiles. When the element definition is not the original definition of an element - i.g. either in a constraint on another type, or for elements from a super type in a snap shot - then the information in provided in the element definition may be different to the base definition. On the original definition of the element, it will be same.",
"comment" : "The base information does not carry any information that could not be determined from the path and related profiles, but making this determination requires both that the related profiles are available, and that the algorithm to determine them be available. For tooling simplicity, the base information must always be populated in element definitions in snap shots, even if it is the same.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "ElementDefinition.base",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "Element"
}],
"constraint" : [{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() or (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "Element"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
},
{
"identity" : "iso11179",
"map" : "n/a"
}]
},
{
"id" : "ElementDefinition.base.id",
"path" : "ElementDefinition.base.id",
"representation" : ["xmlAttr"],
"short" : "Unique id for inter-element referencing",
"definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "ElementDefinition.base.extension",
"path" : "ElementDefinition.base.extension",
"slicing" : {
"discriminator" : [{
"type" : "value",
"path" : "url"
}],
"description" : "Extensions are always sliced by (at least) url",
"rules" : "open"
},
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "ElementDefinition.base.path",
"path" : "ElementDefinition.base.path",
"short" : "Path that identifies the base element",
"definition" : "The Path that identifies the base element - this matches the ElementDefinition.path for that element. Across FHIR, there is only one base definition of any element - that is, an element definition on a [StructureDefinition](structuredefinition.html#) without a StructureDefinition.base.",
"min" : 1,
"max" : "1",
"base" : {
"path" : "ElementDefinition.base.path",
"min" : 1,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
},
{
"identity" : "iso11179",
"map" : "n/a"
}]
},
{
"id" : "ElementDefinition.base.min",
"path" : "ElementDefinition.base.min",
"short" : "Min cardinality of the base element",
"definition" : "Minimum cardinality of the base element identified by the path.",
"comment" : "This is provided for consistency with max, and may affect code generation of mandatory elements of the base resource are generated differently (some reference implementations have done this).",
"min" : 1,
"max" : "1",
"base" : {
"path" : "ElementDefinition.base.min",
"min" : 1,
"max" : "1"
},
"type" : [{
"code" : "unsignedInt"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
},
{
"identity" : "iso11179",
"map" : "n/a"
}]
},
{
"id" : "ElementDefinition.base.max",
"path" : "ElementDefinition.base.max",
"short" : "Max cardinality of the base element",
"definition" : "Maximum cardinality of the base element identified by the path.",
"comment" : "This is provided to code generation, since the serialization representation in JSON differs depending on whether the base element has max > 1. Also, some forms of code generation may differ.",
"min" : 1,
"max" : "1",
"base" : {
"path" : "ElementDefinition.base.max",
"min" : 1,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
},
{
"identity" : "iso11179",
"map" : "n/a"
}]
},
{
"id" : "ElementDefinition.contentReference",
"path" : "ElementDefinition.contentReference",
"short" : "Reference to definition of content for the element",
"definition" : "Identifies an element defined elsewhere in the definition whose content rules should be applied to the current element. ContentReferences bring across all the rules that are in the ElementDefinition for the element, including definitions, cardinality constraints, bindings, invariants etc.",
"comment" : "ContentReferences can only be defined in specializations, not constrained types, and they cannot be changed and always reference the non-constrained definition.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "ElementDefinition.contentReference",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "uri"
}],
"condition" : ["eld-5"],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A"
}]
},
{
"id" : "ElementDefinition.type",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
"valueString" : "TypeRef"
}],
"path" : "ElementDefinition.type",
"short" : "Data type and Profile for this element",
"definition" : "The data type or resource that the value of this element is permitted to be.",
"comment" : "The Type of the element can be left blank in a differential constraint, in which case the type is inherited from the resource. Abstract types are not permitted to appear as a type when multiple types are listed. (I.e. Abstract types cannot be part of a choice).",
"min" : 0,
"max" : "*",
"base" : {
"path" : "ElementDefinition.type",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Element"
}],
"condition" : ["eld-13"],
"constraint" : [{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() or (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "Element"
},
{
"key" : "eld-4",
"severity" : "error",
"human" : "Aggregation may only be specified if one of the allowed types for the element is a reference",
"expression" : "aggregation.empty() or (code = 'Reference')",
"xpath" : "not(exists(f:aggregation)) or exists(f:code[@value = 'Reference'])"
},
{
"key" : "eld-17",
"severity" : "error",
"human" : "targetProfile is only allowed if the type is Reference or canonical",
"expression" : "(code='Reference' or code = 'canonical') or targetProfile.empty()",
"xpath" : "not(exists(f:targetProfile)) or (f:code/@value = 'Reference')"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "OM1.3, OMC.9"
},
{
"identity" : "rim",
"map" : "N/A (MIF territory)"
},
{
"identity" : "iso11179",
"map" : ".domain.data+Q14type"
},
{
"identity" : "dex",
"map" : "valueDomain.dataType"
},
{
"identity" : "loinc",
"map" : "HL7_V2_DATATYPE (translation required), HL7_V3_DATATYPE (translation required)"
}]
},
{
"id" : "ElementDefinition.type.id",
"path" : "ElementDefinition.type.id",
"representation" : ["xmlAttr"],
"short" : "Unique id for inter-element referencing",
"definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "ElementDefinition.type.extension",
"path" : "ElementDefinition.type.extension",
"slicing" : {
"discriminator" : [{
"type" : "value",
"path" : "url"
}],
"description" : "Extensions are always sliced by (at least) url",
"rules" : "open"
},
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "ElementDefinition.type.code",
"path" : "ElementDefinition.type.code",
"short" : "Data type or Resource (reference to definition)",
"definition" : "URL of Data type or Resource that is a(or the) type used for this element. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition e.g. \"string\" is a reference to http://hl7.org/fhir/StructureDefinition/string. Absolute URLs are only allowed in logical models.",
"comment" : "If the element is a reference to another resource, this element contains \"Reference\", and the targetProfile element defines what resources can be referenced. The targetProfile may be a reference to the general definition of a resource (e.g. http://hl7.org/fhir/StructureDefinition/Patient).",
"min" : 1,
"max" : "1",
"base" : {
"path" : "ElementDefinition.type.code",
"min" : 1,
"max" : "1"
},
"type" : [{
"code" : "uri"
}],
"isModifier" : false,
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "FHIRDefinedTypeExt"
}],
"strength" : "extensible",
"description" : "Either a resource or a data type, including logical model types.",
"valueSet" : "http://hl7.org/fhir/ValueSet/defined-types"
},
"mapping" : [{
"identity" : "v2",
"map" : "OM1.3"
},
{
"identity" : "rim",
"map" : "N/A (MIF territory)"
},
{
"identity" : "iso11179",
"map" : ".domain.data+Q14type"
},
{
"identity" : "loinc",
"map" : "HL7_V2_DATATYPE (translation required), HL7_V3_DATATYPE (translation required)"
}]
},
{
"id" : "ElementDefinition.type.profile",
"path" : "ElementDefinition.type.profile",
"short" : "Profiles (StructureDefinition or IG) - one must apply",
"definition" : "Identifies a profile structure or implementation Guide that applies to the datatype this element refers to. If any profiles are specified, then the content must conform to at least one of them. The URL can be a local reference - to a contained StructureDefinition, or a reference to another StructureDefinition or Implementation Guide by a canonical URL. When an implementation guide is specified, the type SHALL conform to at least one profile defined in the implementation guide.",
"comment" : "It is possible to profile backbone element (e.g. part of a resource), using the [profile-element](extension-elementdefinition-profile-element.html) extension.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "ElementDefinition.type.profile",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "canonical",
"targetProfile" : ["http://hl7.org/fhir/StructureDefinition/StructureDefinition",
"http://hl7.org/fhir/StructureDefinition/ImplementationGuide"]
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
},
{
"identity" : "iso11179",
"map" : "n/a"
}]
},
{
"id" : "ElementDefinition.type.targetProfile",
"path" : "ElementDefinition.type.targetProfile",
"short" : "Profile (StructureDefinition or IG) on the Reference/canonical target - one must apply",
"definition" : "Used when the type is \"Reference\" or \"canonical\", and identifies a profile structure or implementation Guide that applies to the target of the reference this element refers to. If any profiles are specified, then the content must conform to at least one of them. The URL can be a local reference - to a contained StructureDefinition, or a reference to another StructureDefinition or Implementation Guide by a canonical URL. When an implementation guide is specified, the target resource SHALL conform to at least one profile defined in the implementation guide.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "ElementDefinition.type.targetProfile",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "canonical",
"targetProfile" : ["http://hl7.org/fhir/StructureDefinition/StructureDefinition",
"http://hl7.org/fhir/StructureDefinition/ImplementationGuide"]
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
},
{
"identity" : "iso11179",
"map" : "n/a"
}]
},
{
"id" : "ElementDefinition.type.aggregation",
"path" : "ElementDefinition.type.aggregation",
"short" : "contained | referenced | bundled - how aggregated",
"definition" : "If the type is a reference to another resource, how the resource is or can be aggregated - is it a contained resource, or a reference, and if the context is a bundle, is it included in the bundle.",
"comment" : "See [Aggregation Rules](elementdefinition.html#aggregation) for further clarification.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "ElementDefinition.type.aggregation",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "code"
}],
"condition" : ["eld-4"],
"isModifier" : false,
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "AggregationMode"
}],
"strength" : "required",
"description" : "How resource references can be aggregated.",
"valueSet" : "http://hl7.org/fhir/ValueSet/resource-aggregation-mode|4.0.0"
},
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
},
{
"identity" : "iso11179",
"map" : "n/a"
}]
},
{
"id" : "ElementDefinition.type.versioning",
"path" : "ElementDefinition.type.versioning",
"short" : "either | independent | specific",
"definition" : "Whether this reference needs to be version specific or version independent, or whether either can be used.",
"comment" : "The base specification never makes a rule as to which form is allowed, but implementation guides may do this. See [Aggregation Rules](elementdefinition.html#aggregation) for further clarification.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "ElementDefinition.type.versioning",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "code"
}],
"isModifier" : false,
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "ReferenceVersionRules"
}],
"strength" : "required",
"description" : "Whether a reference needs to be version specific or version independent, or whether either can be used.",
"valueSet" : "http://hl7.org/fhir/ValueSet/reference-version-rules|4.0.0"
},
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
}]
},
{
"id" : "ElementDefinition.defaultValue[x]",
"path" : "ElementDefinition.defaultValue[x]",
"short" : "Specified value if missing from instance",
"definition" : "The value that should be used if there is no value stated in the instance (e.g. 'if not otherwise specified, the abstract is false').",
"comment" : "Specifying a default value means that the property can never been unknown - it must always have a value. Further, the default value can never be changed, or changed in constraints on content models. Defining default values creates many difficulties in implementation (e.g. when is a value missing?). For these reasons, default values are (and should be) used extremely sparingly. \n\nNo default values are ever defined in the FHIR specification, nor can they be defined in constraints (\"profiles\") on data types or resources. This element only exists so that default values may be defined in logical models.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "ElementDefinition.defaultValue[x]",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "base64Binary"
},
{
"code" : "boolean"
},
{
"code" : "canonical"
},
{
"code" : "code"
},
{
"code" : "date"
},
{
"code" : "dateTime"
},
{
"code" : "decimal"
},
{
"code" : "id"
},
{
"code" : "instant"
},
{
"code" : "integer"
},
{
"code" : "markdown"
},
{
"code" : "oid"
},
{
"code" : "positiveInt"
},
{
"code" : "string"
},
{
"code" : "time"
},
{
"code" : "unsignedInt"
},
{
"code" : "uri"
},
{
"code" : "url"
},
{
"code" : "uuid"
},
{
"code" : "Address"
},
{
"code" : "Age"
},
{
"code" : "Annotation"
},
{
"code" : "Attachment"
},
{
"code" : "CodeableConcept"
},
{
"code" : "Coding"
},
{
"code" : "ContactPoint"
},
{
"code" : "Count"
},
{
"code" : "Distance"
},
{
"code" : "Duration"
},
{
"code" : "HumanName"
},
{
"code" : "Identifier"
},
{
"code" : "Money"
},
{
"code" : "Period"
},
{
"code" : "Quantity"
},
{
"code" : "Range"
},
{
"code" : "Ratio"
},
{
"code" : "Reference"
},
{
"code" : "SampledData"
},
{
"code" : "Signature"
},
{
"code" : "Timing"
},
{
"code" : "ContactDetail"
},
{
"code" : "Contributor"
},
{
"code" : "DataRequirement"
},
{
"code" : "Expression"
},
{
"code" : "ParameterDefinition"
},
{
"code" : "RelatedArtifact"
},
{
"code" : "TriggerDefinition"
},
{
"code" : "UsageContext"
},
{
"code" : "Dosage"
}],
"condition" : ["eld-15"],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
}]
},
{
"id" : "ElementDefinition.meaningWhenMissing",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean" : true
}],
"path" : "ElementDefinition.meaningWhenMissing",
"short" : "Implicit meaning when this element is missing",
"definition" : "The Implicit meaning that is to be understood when this element is missing (e.g. 'when this element is missing, the period is ongoing').",
"comment" : "Implicit meanings for missing values can only be specified on a resource, data type, or extension definition, and never in a profile that applies to one of these. An implicit meaning for a missing value can never be changed, and specifying one has the consequence that constraining its use in profiles eliminates use cases as possibilities, not merely moving them out of scope.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "ElementDefinition.meaningWhenMissing",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "markdown"
}],
"condition" : ["eld-15"],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
}]
},
{
"id" : "ElementDefinition.orderMeaning",
"path" : "ElementDefinition.orderMeaning",
"short" : "What the order of the elements means",
"definition" : "If present, indicates that the order of the repeating element has meaning and describes what that meaning is. If absent, it means that the order of the element has no meaning.",
"comment" : "This element can only be asserted on repeating elements and can only be introduced when defining resources or data types. It can be further refined profiled elements but if absent in the base type, a profile cannot assert meaning.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "ElementDefinition.orderMeaning",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
}]
},
{
"id" : "ElementDefinition.fixed[x]",
"path" : "ElementDefinition.fixed[x]",
"short" : "Value must be exactly this",
"definition" : "Specifies a value that SHALL be exactly the value for this element in the instance. For purposes of comparison, non-significant whitespace is ignored, and all values must be an exact match (case and accent sensitive). Missing elements/attributes must also be missing.",
"comment" : "This is not recommended for Coding and CodeableConcept since these often have highly contextual properties such as version or display.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "ElementDefinition.fixed[x]",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "base64Binary"
},
{
"code" : "boolean"
},
{
"code" : "canonical"
},
{
"code" : "code"
},
{
"code" : "date"
},
{
"code" : "dateTime"
},
{
"code" : "decimal"
},
{
"code" : "id"
},
{
"code" : "instant"
},
{
"code" : "integer"
},
{
"code" : "markdown"
},
{
"code" : "oid"
},
{
"code" : "positiveInt"
},
{
"code" : "string"
},
{
"code" : "time"
},
{
"code" : "unsignedInt"
},
{
"code" : "uri"
},
{
"code" : "url"
},
{
"code" : "uuid"
},
{
"code" : "Address"
},
{
"code" : "Age"
},
{
"code" : "Annotation"
},
{
"code" : "Attachment"
},
{
"code" : "CodeableConcept"
},
{
"code" : "Coding"
},
{
"code" : "ContactPoint"
},
{
"code" : "Count"
},
{
"code" : "Distance"
},
{
"code" : "Duration"
},
{
"code" : "HumanName"
},
{
"code" : "Identifier"
},
{
"code" : "Money"
},
{
"code" : "Period"
},
{
"code" : "Quantity"
},
{
"code" : "Range"
},
{
"code" : "Ratio"
},
{
"code" : "Reference"
},
{
"code" : "SampledData"
},
{
"code" : "Signature"
},
{
"code" : "Timing"
},
{
"code" : "ContactDetail"
},
{
"code" : "Contributor"
},
{
"code" : "DataRequirement"
},
{
"code" : "Expression"
},
{
"code" : "ParameterDefinition"
},
{
"code" : "RelatedArtifact"
},
{
"code" : "TriggerDefinition"
},
{
"code" : "UsageContext"
},
{
"code" : "Dosage"
}],
"condition" : ["eld-5",
"eld-6",
"eld-8"],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
},
{
"identity" : "iso11179",
"map" : "N/A (only relevant when constraining, which 11179 doesn't do)"
}]
},
{
"id" : "ElementDefinition.pattern[x]",
"path" : "ElementDefinition.pattern[x]",
"short" : "Value must have at least these property values",
"definition" : "Specifies a value that the value in the instance SHALL follow - that is, any value in the pattern must be found in the instance. Other additional values may be found too. This is effectively constraint by example. \n\nWhen pattern[x] is used to constrain a primitive, it means that the value provided in the pattern[x] must match the instance value exactly.\n\nWhen pattern[x] is used to constrain an array, it means that each element provided in the pattern[x] array must (recursively) match at least one element from the instance array.\n\nWhen pattern[x] is used to constrain a complex object, it means that each property in the pattern must be present in the complex object, and its value must recursively match -- i.e.,\n\n1. If primitive: it must match exactly the pattern value\n2. If a complex object: it must match (recursively) the pattern value\n3. If an array: it must match (recursively) the pattern value.",
"comment" : "Mostly used for fixing values of CodeableConcept. In general, pattern[x] is not intended for use with primitive types, where is has the same meaning as fixed[x].",
"min" : 0,
"max" : "1",
"base" : {
"path" : "ElementDefinition.pattern[x]",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "base64Binary"
},
{
"code" : "boolean"
},
{
"code" : "canonical"
},
{
"code" : "code"
},
{
"code" : "date"
},
{
"code" : "dateTime"
},
{
"code" : "decimal"
},
{
"code" : "id"
},
{
"code" : "instant"
},
{
"code" : "integer"
},
{
"code" : "markdown"
},
{
"code" : "oid"
},
{
"code" : "positiveInt"
},
{
"code" : "string"
},
{
"code" : "time"
},
{
"code" : "unsignedInt"
},
{
"code" : "uri"
},
{
"code" : "url"
},
{
"code" : "uuid"
},
{
"code" : "Address"
},
{
"code" : "Age"
},
{
"code" : "Annotation"
},
{
"code" : "Attachment"
},
{
"code" : "CodeableConcept"
},
{
"code" : "Coding"
},
{
"code" : "ContactPoint"
},
{
"code" : "Count"
},
{
"code" : "Distance"
},
{
"code" : "Duration"
},
{
"code" : "HumanName"
},
{
"code" : "Identifier"
},
{
"code" : "Money"
},
{
"code" : "Period"
},
{
"code" : "Quantity"
},
{
"code" : "Range"
},
{
"code" : "Ratio"
},
{
"code" : "Reference"
},
{
"code" : "SampledData"
},
{
"code" : "Signature"
},
{
"code" : "Timing"
},
{
"code" : "ContactDetail"
},
{
"code" : "Contributor"
},
{
"code" : "DataRequirement"
},
{
"code" : "Expression"
},
{
"code" : "ParameterDefinition"
},
{
"code" : "RelatedArtifact"
},
{
"code" : "TriggerDefinition"
},
{
"code" : "UsageContext"
},
{
"code" : "Dosage"
}],
"condition" : ["eld-5",
"eld-7",
"eld-8"],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
}]
},
{
"id" : "ElementDefinition.example",
"path" : "ElementDefinition.example",
"short" : "Example value (as defined for type)",
"definition" : "A sample value for this element demonstrating the type of information that would typically be found in the element.",
"comment" : "Examples will most commonly be present for data where it's not implicitly obvious from either the data type or value set what the values might be. (I.e. Example values for dates or quantities would generally be unnecessary.) If the example value is fully populated, the publication tool can generate an instance automatically.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "ElementDefinition.example",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Element"
}],
"constraint" : [{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() or (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "Element"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
}]
},
{
"id" : "ElementDefinition.example.id",
"path" : "ElementDefinition.example.id",
"representation" : ["xmlAttr"],
"short" : "Unique id for inter-element referencing",
"definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "ElementDefinition.example.extension",
"path" : "ElementDefinition.example.extension",
"slicing" : {
"discriminator" : [{
"type" : "value",
"path" : "url"
}],
"description" : "Extensions are always sliced by (at least) url",
"rules" : "open"
},
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "ElementDefinition.example.label",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean" : true
}],
"path" : "ElementDefinition.example.label",
"short" : "Describes the purpose of this example",
"definition" : "Describes the purpose of this example amoung the set of examples.",
"min" : 1,
"max" : "1",
"base" : {
"path" : "ElementDefinition.example.label",
"min" : 1,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
}]
},
{
"id" : "ElementDefinition.example.value[x]",
"path" : "ElementDefinition.example.value[x]",
"short" : "Value of Example (one of allowed types)",
"definition" : "The actual value for the element, which must be one of the types allowed for this element.",
"min" : 1,
"max" : "1",
"base" : {
"path" : "ElementDefinition.example.value[x]",
"min" : 1,
"max" : "1"
},
"type" : [{
"code" : "base64Binary"
},
{
"code" : "boolean"
},
{
"code" : "canonical"
},
{
"code" : "code"
},
{
"code" : "date"
},
{
"code" : "dateTime"
},
{
"code" : "decimal"
},
{
"code" : "id"
},
{
"code" : "instant"
},
{
"code" : "integer"
},
{
"code" : "markdown"
},
{
"code" : "oid"
},
{
"code" : "positiveInt"
},
{
"code" : "string"
},
{
"code" : "time"
},
{
"code" : "unsignedInt"
},
{
"code" : "uri"
},
{
"code" : "url"
},
{
"code" : "uuid"
},
{
"code" : "Address"
},
{
"code" : "Age"
},
{
"code" : "Annotation"
},
{
"code" : "Attachment"
},
{
"code" : "CodeableConcept"
},
{
"code" : "Coding"
},
{
"code" : "ContactPoint"
},
{
"code" : "Count"
},
{
"code" : "Distance"
},
{
"code" : "Duration"
},
{
"code" : "HumanName"
},
{
"code" : "Identifier"
},
{
"code" : "Money"
},
{
"code" : "Period"
},
{
"code" : "Quantity"
},
{
"code" : "Range"
},
{
"code" : "Ratio"
},
{
"code" : "Reference"
},
{
"code" : "SampledData"
},
{
"code" : "Signature"
},
{
"code" : "Timing"
},
{
"code" : "ContactDetail"
},
{
"code" : "Contributor"
},
{
"code" : "DataRequirement"
},
{
"code" : "Expression"
},
{
"code" : "ParameterDefinition"
},
{
"code" : "RelatedArtifact"
},
{
"code" : "TriggerDefinition"
},
{
"code" : "UsageContext"
},
{
"code" : "Dosage"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
},
{
"identity" : "iso11179",
"map" : ".example"
},
{
"identity" : "loinc",
"map" : "EXMPL_ANSWERS"
}]
},
{
"id" : "ElementDefinition.minValue[x]",
"path" : "ElementDefinition.minValue[x]",
"short" : "Minimum Allowed Value (for some types)",
"definition" : "The minimum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.",
"comment" : "Except for date/date/instant, the type of the minValue[x] SHALL be the same as the specified type of the element. For the date/dateTime/instant values, the type of minValue[x] SHALL be either the same, or a [Duration](datatypes.html#Duration) which specifies a relative time limit to the current time. The duration value is positive, and is subtracted from the current clock to determine the minimum allowable value. A minimum value for a Quantity is interpreted as an canonical minimum - e.g. you cannot provide 100mg if the minimum value is 10g.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "ElementDefinition.minValue[x]",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "date"
},
{
"code" : "dateTime"
},
{
"code" : "instant"
},
{
"code" : "time"
},
{
"code" : "decimal"
},
{
"code" : "integer"
},
{
"code" : "positiveInt"
},
{
"code" : "unsignedInt"
},
{
"code" : "Quantity"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
}]
},
{
"id" : "ElementDefinition.maxValue[x]",
"path" : "ElementDefinition.maxValue[x]",
"short" : "Maximum Allowed Value (for some types)",
"definition" : "The maximum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.",
"comment" : "Except for date/date/instant, the type of the maxValue[x] SHALL be the same as the specified type of the element. For the date/dateTime/instant values, the type of maxValue[x] SHALL be either the same, or a [Duration](datatypes.html#Duration) which specifies a relative time limit to the current time. The duration value is positive, and is added to the current clock to determine the maximum allowable value. A maximum value for a Quantity is interpreted as an canonical maximum - e.g. you cannot provide 10g if the maximum value is 50mg.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "ElementDefinition.maxValue[x]",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "date"
},
{
"code" : "dateTime"
},
{
"code" : "instant"
},
{
"code" : "time"
},
{
"code" : "decimal"
},
{
"code" : "integer"
},
{
"code" : "positiveInt"
},
{
"code" : "unsignedInt"
},
{
"code" : "Quantity"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
}]
},
{
"id" : "ElementDefinition.maxLength",
"path" : "ElementDefinition.maxLength",
"short" : "Max length for strings",
"definition" : "Indicates the maximum length in characters that is permitted to be present in conformant instances and which is expected to be supported by conformant consumers that support the element.",
"comment" : "Receivers are not required to reject instances that exceed the maximum length. The full length could be stored. In some cases, data might be truncated, though truncation should be undertaken with care and an understanding of the consequences of doing so. If not specified, there is no conformance expectation for length support.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "ElementDefinition.maxLength",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "integer"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "OMC.12"
},
{
"identity" : "rim",
"map" : "N/A (MIF territory)"
},
{
"identity" : "iso11179",
"map" : ".domain.maximum_character_quantity"
}]
},
{
"id" : "ElementDefinition.condition",
"path" : "ElementDefinition.condition",
"short" : "Reference to invariant about presence",
"definition" : "A reference to an invariant that may make additional statements about the cardinality or value in the instance.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "ElementDefinition.condition",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "id"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
}]
},
{
"id" : "ElementDefinition.constraint",
"path" : "ElementDefinition.constraint",
"short" : "Condition that must evaluate to true",
"definition" : "Formal constraints such as co-occurrence and other constraints that can be computationally evaluated within the context of the instance.",
"comment" : "Constraints should be declared on the \"context\" element - the lowest element in the hierarchy that is common to all nodes referenced by the constraint.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "ElementDefinition.constraint",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Element"
}],
"constraint" : [{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() or (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "Element"
},
{
"key" : "eld-21",
"severity" : "warning",
"human" : "Constraints should have an expression or else validators will not be able to enforce them",
"expression" : "expression.exists()",
"xpath" : "exists(f:expression/@value)"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
},
{
"identity" : "iso11179",
"map" : "??"
}]
},
{
"id" : "ElementDefinition.constraint.id",
"path" : "ElementDefinition.constraint.id",
"representation" : ["xmlAttr"],
"short" : "Unique id for inter-element referencing",
"definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "ElementDefinition.constraint.extension",
"path" : "ElementDefinition.constraint.extension",
"slicing" : {
"discriminator" : [{
"type" : "value",
"path" : "url"
}],
"description" : "Extensions are always sliced by (at least) url",
"rules" : "open"
},
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "ElementDefinition.constraint.key",
"path" : "ElementDefinition.constraint.key",
"short" : "Target of 'condition' reference above",
"definition" : "Allows identification of which elements have their cardinalities impacted by the constraint. Will not be referenced for constraints that do not affect cardinality.",
"min" : 1,
"max" : "1",
"base" : {
"path" : "ElementDefinition.constraint.key",
"min" : 1,
"max" : "1"
},
"type" : [{
"code" : "id"
}],
"condition" : ["eld-14"],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
}]
},
{
"id" : "ElementDefinition.constraint.requirements",
"path" : "ElementDefinition.constraint.requirements",
"short" : "Why this constraint is necessary or appropriate",
"definition" : "Description of why this constraint is necessary or appropriate.",
"comment" : "To be used if the reason for the constraint might not be intuitive to all implementers.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "ElementDefinition.constraint.requirements",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
}]
},
{
"id" : "ElementDefinition.constraint.severity",
"path" : "ElementDefinition.constraint.severity",
"short" : "error | warning",
"definition" : "Identifies the impact constraint violation has on the conformance of the instance.",
"comment" : "This allows constraints to be asserted as \"shall\" (error) and \"should\" (warning).",
"min" : 1,
"max" : "1",
"base" : {
"path" : "ElementDefinition.constraint.severity",
"min" : 1,
"max" : "1"
},
"type" : [{
"code" : "code"
}],
"isModifier" : false,
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "ConstraintSeverity"
}],
"strength" : "required",
"description" : "SHALL applications comply with this constraint?",
"valueSet" : "http://hl7.org/fhir/ValueSet/constraint-severity|4.0.0"
},
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
}]
},
{
"id" : "ElementDefinition.constraint.human",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean" : true
}],
"path" : "ElementDefinition.constraint.human",
"short" : "Human description of constraint",
"definition" : "Text that can be used to describe the constraint in messages identifying that the constraint has been violated.",
"comment" : "Should be expressed in business terms as much as possible.",
"min" : 1,
"max" : "1",
"base" : {
"path" : "ElementDefinition.constraint.human",
"min" : 1,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
}]
},
{
"id" : "ElementDefinition.constraint.expression",
"path" : "ElementDefinition.constraint.expression",
"short" : "FHIRPath expression of constraint",
"definition" : "A [FHIRPath](fhirpath.html) expression of constraint that can be executed to see if this constraint is met.",
"comment" : "In the absense of an expression, the expression is likely not enforceable by validators, and might be missed by many systems.",
"requirements" : "Used by validation tooling tests of the validity of the resource.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "ElementDefinition.constraint.expression",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
}]
},
{
"id" : "ElementDefinition.constraint.xpath",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "trial-use"
}],
"path" : "ElementDefinition.constraint.xpath",
"short" : "XPath expression of constraint",
"definition" : "An XPath expression of constraint that can be executed to see if this constraint is met.",
"comment" : "Elements SHALL use \"f\" as the namespace prefix for the FHIR namespace, and \"x\" for the xhtml namespace, and SHALL NOT use any other prefixes. Note: XPath is generally considered not useful because it does not apply to JSON and other formats and because of XSLT implementation issues, and may be removed in the future.",
"requirements" : "Used in Schematron tests of the validity of the resource.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "ElementDefinition.constraint.xpath",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
}]
},
{
"id" : "ElementDefinition.constraint.source",
"path" : "ElementDefinition.constraint.source",
"short" : "Reference to original source of constraint",
"definition" : "A reference to the original source of the constraint, for traceability purposes.",
"comment" : "This is used when, e.g. rendering, where it is not useful to present inherited constraints when rendering the snapshot.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "ElementDefinition.constraint.source",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "canonical",
"targetProfile" : ["http://hl7.org/fhir/StructureDefinition/StructureDefinition"]
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
}]
},
{
"id" : "ElementDefinition.mustSupport",
"path" : "ElementDefinition.mustSupport",
"short" : "If the element must be supported",
"definition" : "If true, implementations that produce or consume resources SHALL provide \"support\" for the element in some meaningful way. If false, the element may be ignored and not supported. If false, whether to populate or use the data element in any way is at the discretion of the implementation.",
"comment" : "\"Something useful\" is context dependent and impossible to describe in the base FHIR specification. For this reason, tue mustSupport flag is never set to true by the FHIR specification itself - it is only set to true in profiles. A profile on a type can always make musSupport = true if it is false in the base type but cannot make mustSupport = false if it is true in the base type. This is done in [Resource Profiles](profiling.html#mustsupport), where the profile labels an element as mustSupport=true. When a profile does this, it SHALL also make clear exactly what kind of \"support\" is required, as this can mean many things. Note that an element that has the property IsModifier is not necessarily a \"key\" element (e.g. one of the important elements to make use of the resource), nor is it automatically mustSupport - however both of these things are more likely to be true for IsModifier elements than for other elements.",
"requirements" : "Allows a profile to set expectations for system capabilities beyond merely respecting cardinality constraints.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "ElementDefinition.mustSupport",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "boolean"
}],
"meaningWhenMissing" : "In a base type, where the element is being defined for the first time, the element is assumed to be mustSupport = false. In a profile (a constraint on an existing type), if mustSupport is not specific in either the differentil or the snapshot, the mustSupport value is not changed fro the base definition. Not, though, that the snapshot SHOULD always populate the mustSuppot value",
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
},
{
"identity" : "iso11179",
"map" : "??"
}]
},
{
"id" : "ElementDefinition.isModifier",
"path" : "ElementDefinition.isModifier",
"short" : "If this modifies the meaning of other elements",
"definition" : "If true, the value of this element affects the interpretation of the element or resource that contains it, and the value of the element cannot be ignored. Typically, this is used for status, negation and qualification codes. The effect of this is that the element cannot be ignored by systems: they SHALL either recognize the element and process it, and/or a pre-determination has been made that it is not relevant to their particular system.",
"comment" : "Only the definition of an element can set IsModifier true - either the specification itself or where an extension is originally defined. Once set, it cannot be changed in derived profiles. An element/extension that has isModifier=true SHOULD also have a minimum cardinality of 1, so that there is no lack of clarity about what to do if it is missing. If it can be missing, the definition SHALL make the meaning of a missing element clear.",
"requirements" : "Allows elements to be introduced into a specification that can't safely be ignored by applications that don't recognize them.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "ElementDefinition.isModifier",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "boolean"
}],
"meaningWhenMissing" : "An element is not a modifier element unless it is explicitly specified to be one",
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
},
{
"identity" : "iso11179",
"map" : "??"
}]
},
{
"id" : "ElementDefinition.isModifierReason",
"path" : "ElementDefinition.isModifierReason",
"short" : "Reason that this element is marked as a modifier",
"definition" : "Explains how that element affects the interpretation of the resource or element that contains it.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "ElementDefinition.isModifierReason",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
}]
},
{
"id" : "ElementDefinition.isSummary",
"path" : "ElementDefinition.isSummary",
"short" : "Include when _summary = true?",
"definition" : "Whether the element should be included if a client requests a search with the parameter _summary=true.",
"comment" : "Some resources include a set of simple metadata, and some very large data. This element is used to reduce the quantity of data returned in searches. Note that servers may pre-cache summarized resources for optimal performance, so servers might not support per-profile use of the isSummary flag. When a request is made with _summary=true, serailisers only include elements marked as 'isSummary = true'. Other than Attachment.data, all data type properties are included in the summary form. In resource and data type definitions, if an element is at the root or has a parent that is 'mustSupport' and the minimum cardinality is 1 or the element is a modifier, it must be marked as isSummary=true.",
"requirements" : "Allow clients to search through large resources quickly.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "ElementDefinition.isSummary",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "boolean"
}],
"meaningWhenMissing" : "An element is not included in the summary unless it is explicitly specified to be so",
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
},
{
"identity" : "iso11179",
"map" : "??"
}]
},
{
"id" : "ElementDefinition.binding",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
"valueString" : "ElementDefinitionBinding"
}],
"path" : "ElementDefinition.binding",
"short" : "ValueSet details if this is coded",
"definition" : "Binds to a value set if this element is coded (code, Coding, CodeableConcept, Quantity), or the data types (string, uri).",
"comment" : "For a CodeableConcept, when no codes are allowed - only text, use a binding of strength \"required\" with a description explaining that no coded values are allowed and what sort of information to put in the \"text\" element.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "ElementDefinition.binding",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "Element"
}],
"condition" : ["eld-11"],
"constraint" : [{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() or (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "Element"
},
{
"key" : "eld-12",
"severity" : "error",
"human" : "ValueSet SHALL start with http:// or https:// or urn:",
"expression" : "valueSet.exists() implies (valueSet.startsWith('http:') or valueSet.startsWith('https') or valueSet.startsWith('urn:'))",
"xpath" : "(starts-with(string(f:valueSet/@value), 'http:') or starts-with(string(f:valueSet/@value), 'https:') or starts-with(string(f:valueSet/@value), 'urn:'))"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "OM3, OMC.11"
},
{
"identity" : "rim",
"map" : "N/A (MIF territory)"
},
{
"identity" : "iso11179",
"map" : ".domain"
},
{
"identity" : "loinc",
"map" : "ANSWER LIST, NORMATIVE ANSWER LIST"
}]
},
{
"id" : "ElementDefinition.binding.id",
"path" : "ElementDefinition.binding.id",
"representation" : ["xmlAttr"],
"short" : "Unique id for inter-element referencing",
"definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "ElementDefinition.binding.extension",
"path" : "ElementDefinition.binding.extension",
"slicing" : {
"discriminator" : [{
"type" : "value",
"path" : "url"
}],
"description" : "Extensions are always sliced by (at least) url",
"rules" : "open"
},
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "ElementDefinition.binding.strength",
"path" : "ElementDefinition.binding.strength",
"short" : "required | extensible | preferred | example",
"definition" : "Indicates the degree of conformance expectations associated with this binding - that is, the degree to which the provided value set must be adhered to in the instances.",
"comment" : "For further discussion, see [Using Terminologies](terminologies.html).",
"alias" : ["conformance",
"extensibility"],
"min" : 1,
"max" : "1",
"base" : {
"path" : "ElementDefinition.binding.strength",
"min" : 1,
"max" : "1"
},
"type" : [{
"code" : "code"
}],
"isModifier" : false,
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "BindingStrength"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
"valueBoolean" : true
}],
"strength" : "required",
"description" : "Indication of the degree of conformance expectations associated with a binding.",
"valueSet" : "http://hl7.org/fhir/ValueSet/binding-strength|4.0.0"
},
"mapping" : [{
"identity" : "v2",
"map" : "N/A"
},
{
"identity" : "rim",
"map" : "N/A (MIF territory)"
},
{
"identity" : "loinc",
"map" : "N/A"
}]
},
{
"id" : "ElementDefinition.binding.description",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean" : true
}],
"path" : "ElementDefinition.binding.description",
"short" : "Human explanation of the value set",
"definition" : "Describes the intended use of this particular set of codes.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "ElementDefinition.binding.description",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
},
{
"identity" : "iso11179",
"map" : ".domain.description"
}]
},
{
"id" : "ElementDefinition.binding.valueSet",
"path" : "ElementDefinition.binding.valueSet",
"short" : "Source of value set",
"definition" : "Refers to the value set that identifies the set of codes the binding refers to.",
"comment" : "The reference may be version-specific or not (e.g. have a |[version] at the end of the canonical URL).",
"min" : 0,
"max" : "1",
"base" : {
"path" : "ElementDefinition.binding.valueSet",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "canonical",
"targetProfile" : ["http://hl7.org/fhir/StructureDefinition/ValueSet"]
}],
"condition" : ["eld-12"],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
},
{
"identity" : "iso11179",
"map" : "points to explicit list or expression that evaluates to list of (Enumerated_Value_Domain).member"
},
{
"identity" : "dex",
"map" : "valueDomain.valueSet"
},
{
"identity" : "loinc",
"map" : "CODE_TABLE"
}]
},
{
"id" : "ElementDefinition.mapping",
"path" : "ElementDefinition.mapping",
"short" : "Map element to another set of definitions",
"definition" : "Identifies a concept from an external specification that roughly corresponds to this element.",
"comment" : "Mappings are not necessarily specific enough for safe translation.",
"requirements" : "Provides guidance to implementers familiar with or converting content from other specifications.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "ElementDefinition.mapping",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Element"
}],
"constraint" : [{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() or (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "Element"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
},
{
"identity" : "iso11179",
"map" : "Registered_item).document_reference[document_type=mapping] Also, .meaning linkage to Data_Element_Concept is done as a mapping to a reference model. (Data_Element_Concepts are all defined in some sort of reference model, be that Object_Class and Property or some other mechanism)"
},
{
"identity" : "dex",
"map" : "mappingSpecification"
}]
},
{
"id" : "ElementDefinition.mapping.id",
"path" : "ElementDefinition.mapping.id",
"representation" : ["xmlAttr"],
"short" : "Unique id for inter-element referencing",
"definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "ElementDefinition.mapping.extension",
"path" : "ElementDefinition.mapping.extension",
"slicing" : {
"discriminator" : [{
"type" : "value",
"path" : "url"
}],
"description" : "Extensions are always sliced by (at least) url",
"rules" : "open"
},
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "ElementDefinition.mapping.identity",
"path" : "ElementDefinition.mapping.identity",
"short" : "Reference to mapping declaration",
"definition" : "An internal reference to the definition of a mapping.",
"min" : 1,
"max" : "1",
"base" : {
"path" : "ElementDefinition.mapping.identity",
"min" : 1,
"max" : "1"
},
"type" : [{
"code" : "id"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
}]
},
{
"id" : "ElementDefinition.mapping.language",
"path" : "ElementDefinition.mapping.language",
"short" : "Computable language of mapping",
"definition" : "Identifies the computable language in which mapping.map is expressed.",
"comment" : "If omitted, then there can be no expectation of computational interpretation of the mapping.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "ElementDefinition.mapping.language",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "code"
}],
"isModifier" : false,
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "MimeType"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
"valueBoolean" : true
}],
"strength" : "required",
"description" : "The mime type of an attachment. Any valid mime type is allowed.",
"valueSet" : "http://hl7.org/fhir/ValueSet/mimetypes|4.0.0"
},
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
}]
},
{
"id" : "ElementDefinition.mapping.map",
"path" : "ElementDefinition.mapping.map",
"short" : "Details of the mapping",
"definition" : "Expresses what part of the target specification corresponds to this element.",
"comment" : "For most mappings, the syntax is undefined. Syntax will be provided for mappings to the RIM. Multiple mappings may be possible and may include constraints on other resource elements that identify when a particular mapping applies.",
"min" : 1,
"max" : "1",
"base" : {
"path" : "ElementDefinition.mapping.map",
"min" : 1,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
},
{
"identity" : "iso11179",
"map" : "ObjectClass, Property (this is one possible data model that can be mapped to - the uri would identify the data model mappingSpecification.mappingScript"
}]
},
{
"id" : "ElementDefinition.mapping.comment",
"path" : "ElementDefinition.mapping.comment",
"short" : "Comments about the mapping or its use",
"definition" : "Comments that provide information about the mapping or its use.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "ElementDefinition.mapping.comment",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
}]
}]
},
"differential" : {
"element" : [{
"id" : "ElementDefinition",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"path" : "ElementDefinition",
"short" : "Definition of an element in a resource or extension",
"definition" : "Captures constraints on each element within the resource, profile, or extension.",
"min" : 0,
"max" : "*",
"constraint" : [{
"key" : "eld-19",
"severity" : "error",
"human" : "Element names cannot include some special characters",
"expression" : "path.matches('[^\\\\s\\\\.,:;\\\\\\'\"\\\\/|?!@#$%&*()\\\\[\\\\]{}]{1,64}(\\\\.[^\\\\s\\\\.,:;\\\\\\'\"\\\\/|?!@#$%&*()\\\\[\\\\]{}]{1,64}(\\\\[x\\\\])?(\\\\:[^\\\\s\\\\.]+)?)*')",
"xpath" : "matches(path/@value, '[^\\s\\.,:;\\'"\\/|?!@#$%&*()\\[\\]{}]{1,64}(\\.[^\\s\\.,:;\\'"\\/|?!@#$%&*()\\[\\]{}]{1,64}(\\[x\\])?(\\:[^\\s\\.]+)?)*')"
},
{
"key" : "eld-2",
"severity" : "error",
"human" : "Min <= Max",
"expression" : "min.empty() or max.empty() or (max = '*') or iif(max != '*', min <= max.toInteger())",
"xpath" : "not(exists(f:min)) or not(exists(f:max)) or (not(f:max/@value) and not(f:min/@value)) or (f:max/@value = '*') or (number(f:max/@value) >= f:min/@value)"
},
{
"key" : "eld-5",
"severity" : "error",
"human" : "if the element definition has a contentReference, it cannot have type, defaultValue, fixed, pattern, example, minValue, maxValue, maxLength, or binding",
"expression" : "contentReference.empty() or (type.empty() and defaultValue.empty() and fixed.empty() and pattern.empty() and example.empty() and minValue.empty() and maxValue.empty() and maxLength.empty() and binding.empty())",
"xpath" : "not(exists(f:contentReference) and (exists(f:type) or exists(f:*[starts-with(local-name(.), 'value')]) or exists(f:*[starts-with(local-name(.), 'defaultValue')]) or exists(f:*[starts-with(local-name(.), 'fixed')]) or exists(f:*[starts-with(local-name(.), 'pattern')]) or exists(f:*[starts-with(local-name(.), 'example')]) or exists(f:*[starts-with(local-name(.), 'f:minValue')]) or exists(f:*[starts-with(local-name(.), 'f:maxValue')]) or exists(f:maxLength) or exists(f:binding)))"
},
{
"key" : "eld-7",
"severity" : "error",
"human" : "Pattern may only be specified if there is one type",
"expression" : "pattern.empty() or (type.count() <= 1)",
"xpath" : "not(exists(f:*[starts-with(local-name(.), 'pattern')])) or (count(f:type)<=1)"
},
{
"key" : "eld-6",
"severity" : "error",
"human" : "Fixed value may only be specified if there is one type",
"expression" : "fixed.empty() or (type.count() <= 1)",
"xpath" : "not(exists(f:*[starts-with(local-name(.), 'fixed')])) or (count(f:type)<=1)"
},
{
"key" : "eld-11",
"severity" : "error",
"human" : "Binding can only be present for coded elements, string, and uri",
"expression" : "binding.empty() or type.code.empty() or type.select((code = 'code') or (code = 'Coding') or (code='CodeableConcept') or (code = 'Quantity') or (code = 'string') or (code = 'uri')).exists()",
"xpath" : "not(exists(f:binding)) or (count(f:type/f:code) = 0) or f:type/f:code/@value=('code','Coding','CodeableConcept','Quantity','string', 'uri')"
},
{
"key" : "eld-22",
"severity" : "error",
"human" : "sliceIsConstraining can only appear if slicename is present",
"expression" : "sliceIsConstraining.exists() implies sliceName.exists()",
"xpath" : "exists(f:sliceName) or not(exists(f:sliceIsConstraining))"
},
{
"key" : "eld-8",
"severity" : "error",
"human" : "Pattern and value are mutually exclusive",
"expression" : "pattern.empty() or fixed.empty()",
"xpath" : "not(exists(f:*[starts-with(local-name(.), 'pattern')])) or not(exists(f:*[starts-with(local-name(.), 'fixed')]))"
},
{
"key" : "eld-14",
"severity" : "error",
"human" : "Constraints must be unique by key",
"expression" : "constraint.select(key).isDistinct()",
"xpath" : "count(f:constraint) = count(distinct-values(f:constraint/f:key/@value))"
},
{
"key" : "eld-13",
"severity" : "error",
"human" : "Types must be unique by code",
"expression" : "type.select(code).isDistinct()",
"xpath" : "not(exists(for $type in f:type return $type/preceding-sibling::f:type[f:code/@value=$type/f:code/@value]))"
},
{
"key" : "eld-16",
"severity" : "error",
"human" : "sliceName must be composed of proper tokens separated by \"/\"",
"expression" : "sliceName.empty() or sliceName.matches('^[a-zA-Z0-9\\\\/\\\\-_\\\\[\\\\]\\\\@]+$')",
"xpath" : "not(exists(f:sliceName/@value)) or matches(f:sliceName/@value, '^[a-zA-Z0-9\\/\\-_\\[\\]\\@]+$')"
},
{
"key" : "eld-15",
"severity" : "error",
"human" : "default value and meaningWhenMissing are mutually exclusive",
"expression" : "defaultValue.empty() or meaningWhenMissing.empty()",
"xpath" : "not(exists(f:*[starts-with(local-name(.), 'fixed')])) or not(exists(f:meaningWhenMissing))"
},
{
"key" : "eld-18",
"severity" : "error",
"human" : "Must have a modifier reason if isModifier = true",
"expression" : "isModifier implies isModifierReason.exists()",
"xpath" : "not(f:isModifier/@value = 'true') or exists(f:isModifierReason)"
},
{
"key" : "eld-20",
"severity" : "warning",
"human" : "Element names should be simple alphanumerics with a max of 64 characters, or code generation tools may be broken",
"expression" : "path.matches('[A-Za-z][A-Za-z0-9]*(\\\\.[a-z][A-Za-z0-9]*(\\\\[x])?)*')",
"xpath" : "matches(path/@value, '[A-Za-z][A-Za-z0-9]*(\\.[a-z][A-Za-z0-9]*(\\[x])?)*')"
}],
"mapping" : [{
"identity" : "v2",
"map" : "OM1"
},
{
"identity" : "rim",
"map" : "Observation[classCode=OBS, moodCode=DEFN]"
},
{
"identity" : "iso11179",
"map" : "Data_Element"
},
{
"identity" : "dex",
"map" : "RetrieveMetadata response"
}]
},
{
"id" : "ElementDefinition.path",
"path" : "ElementDefinition.path",
"short" : "Path of the element in the hierarchy of elements",
"definition" : "The path identifies the element and is expressed as a \".\"-separated list of ancestor elements, beginning with the name of the resource or extension.",
"min" : 1,
"max" : "1",
"type" : [{
"code" : "string"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "N/A"
},
{
"identity" : "rim",
"map" : "N/A"
},
{
"identity" : "iso11179",
"map" : "Name, Identifier & Context"
}]
},
{
"id" : "ElementDefinition.representation",
"path" : "ElementDefinition.representation",
"short" : "xmlAttr | xmlText | typeAttr | cdaText | xhtml",
"definition" : "Codes that define how this element is represented in instances, when the deviation varies from the normal case.",
"comment" : "In resources, this is rarely used except for special cases where the representation deviates from the normal, and can only be done in the base standard (and profiles must reproduce what the base standard does). This element is used quite commonly in Logical models when the logical models represent a specific serialization format (e.g. CDA, v2 etc.).",
"min" : 0,
"max" : "*",
"type" : [{
"code" : "code"
}],
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "PropertyRepresentation"
}],
"strength" : "required",
"description" : "How a property is represented when serialized.",
"valueSet" : "http://hl7.org/fhir/ValueSet/property-representation|4.0.0"
},
"mapping" : [{
"identity" : "v2",
"map" : "N/A"
},
{
"identity" : "rim",
"map" : "N/A"
},
{
"identity" : "iso11179",
"map" : "n/a"
}]
},
{
"id" : "ElementDefinition.sliceName",
"path" : "ElementDefinition.sliceName",
"short" : "Name for this particular element (in a set of slices)",
"definition" : "The name of this element definition slice, when slicing is working. The name must be a token with no dots or spaces. This is a unique name referring to a specific set of constraints applied to this element, used to provide a name to different slices of the same element.",
"comment" : "The name SHALL be unique within the structure within the context of the constrained resource element. (Though to avoid confusion, uniqueness across all elements is recommended.).",
"requirements" : "May also be used for code generation purposes.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "string"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "N/A"
},
{
"identity" : "rim",
"map" : "N/A"
},
{
"identity" : "iso11179",
"map" : "n/a"
}]
},
{
"id" : "ElementDefinition.sliceIsConstraining",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "trial-use"
}],
"path" : "ElementDefinition.sliceIsConstraining",
"short" : "If this slice definition constrains an inherited slice definition (or not)",
"definition" : "If true, indicates that this slice definition is constraining a slice definition with the same name in an inherited profile. If false, the slice is not overriding any slice in an inherited profile. If missing, the slice might or might not be overriding a slice in an inherited profile, depending on the sliceName.",
"comment" : "If set to true, an ancestor profile SHALL have a slicing definition with this name. If set to false, no ancestor profile is permitted to have a slicing definition with this name.",
"requirements" : "Allows detection of a situation where an ancestor profile adds or removes slicing with the same name where that might impact the child profile.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "boolean"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "N/A"
},
{
"identity" : "rim",
"map" : "N/A"
},
{
"identity" : "iso11179",
"map" : "n/a"
}]
},
{
"id" : "ElementDefinition.label",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean" : true
}],
"path" : "ElementDefinition.label",
"short" : "Name for element to display with or prompt for element",
"definition" : "A single preferred label which is the text to display beside the element indicating its meaning or to use to prompt for the element in a user display or form.",
"comment" : "See also the extension (http://hl7.org/fhir/StructureDefinition/elementdefinition-question)[extension-elementdefinition-question.html].",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "string"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "./code/display"
},
{
"identity" : "iso11179",
"map" : "n/a"
}]
},
{
"id" : "ElementDefinition.code",
"path" : "ElementDefinition.code",
"short" : "Corresponding codes in terminologies",
"definition" : "A code that has the same meaning as the element in a particular terminology.",
"comment" : "The concept SHALL be properly aligned with the data element definition and other constraints, as defined in the code system, including relationships, of any code listed here. Where multiple codes exist in a terminology that could correspond to the data element, the most granular code(s) should be selected, so long as they are not more restrictive than the data element itself. The mappings may be used to provide more or less granular or structured equivalences in the code system.",
"requirements" : "Links the meaning of an element to an external terminology, and is very useful for searching and indexing.",
"min" : 0,
"max" : "*",
"type" : [{
"code" : "Coding"
}],
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "ElementDefinitionCode"
}],
"strength" : "example",
"description" : "Codes that indicate the meaning of a data element.",
"valueSet" : "http://hl7.org/fhir/ValueSet/observation-codes"
},
"mapping" : [{
"identity" : "v2",
"map" : "OM1.7"
},
{
"identity" : "rim",
"map" : "./code (root or translation)"
},
{
"identity" : "iso11179",
"map" : "(Data_Element).data_element_concept.identifier"
},
{
"identity" : "loinc",
"map" : "LOINC_NUM"
}]
},
{
"id" : "ElementDefinition.slicing",
"path" : "ElementDefinition.slicing",
"short" : "This element is sliced - slices follow",
"definition" : "Indicates that the element is sliced into a set of alternative definitions (i.e. in a structure definition, there are multiple different constraints on a single element in the base resource). Slicing can be used in any resource that has cardinality ..* on the base resource, or any resource with a choice of types. The set of slices is any elements that come after this in the element sequence that have the same path, until a shorter path occurs (the shorter path terminates the set).",
"comment" : "The first element in the sequence, the one that carries the slicing, is the definition that applies to all the slices. This is based on the unconstrained element, but can apply any constraints as appropriate. This may include the common constraints on the children of the element.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "Element"
}],
"constraint" : [{
"key" : "eld-1",
"severity" : "error",
"human" : "If there are no discriminators, there must be a definition",
"expression" : "discriminator.exists() or description.exists()",
"xpath" : "(f:discriminator) or (f:description)"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A"
},
{
"identity" : "iso11179",
"map" : "n/a"
}]
},
{
"id" : "ElementDefinition.slicing.discriminator",
"path" : "ElementDefinition.slicing.discriminator",
"short" : "Element values that are used to distinguish the slices",
"definition" : "Designates which child elements are used to discriminate between the slices when processing an instance. If one or more discriminators are provided, the value of the child elements in the instance data SHALL completely distinguish which slice the element in the resource matches based on the allowed values for those elements in each of the slices.",
"comment" : "If there is no discriminator, the content is hard to process, so this should be avoided.",
"min" : 0,
"max" : "*",
"type" : [{
"code" : "Element"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A"
},
{
"identity" : "iso11179",
"map" : "n/a"
}]
},
{
"id" : "ElementDefinition.slicing.discriminator.type",
"path" : "ElementDefinition.slicing.discriminator.type",
"short" : "value | exists | pattern | type | profile",
"definition" : "How the element value is interpreted when discrimination is evaluated.",
"min" : 1,
"max" : "1",
"type" : [{
"code" : "code"
}],
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "DiscriminatorType"
}],
"strength" : "required",
"description" : "How an element value is interpreted when discrimination is evaluated.",
"valueSet" : "http://hl7.org/fhir/ValueSet/discriminator-type|4.0.0"
},
"mapping" : [{
"identity" : "rim",
"map" : "N/A"
}]
},
{
"id" : "ElementDefinition.slicing.discriminator.path",
"path" : "ElementDefinition.slicing.discriminator.path",
"short" : "Path to element value",
"definition" : "A FHIRPath expression, using [the simple subset of FHIRPath](fhirpath.html#simple), that is used to identify the element on which discrimination is based.",
"comment" : "The only FHIRPath functions that are allowed are as(type), resolve(), and extension(url).",
"min" : 1,
"max" : "1",
"type" : [{
"code" : "string"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A"
},
{
"identity" : "iso11179",
"map" : "n/a"
}]
},
{
"id" : "ElementDefinition.slicing.description",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean" : true
}],
"path" : "ElementDefinition.slicing.description",
"short" : "Text description of how slicing works (or not)",
"definition" : "A human-readable text description of how the slicing works. If there is no discriminator, this is required to be present to provide whatever information is possible about how the slices can be differentiated.",
"comment" : "If it's really not possible to differentiate them, the design should be re-evaluated to make the content usable.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "string"
}],
"condition" : ["eld-1"],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A"
}]
},
{
"id" : "ElementDefinition.slicing.ordered",
"path" : "ElementDefinition.slicing.ordered",
"short" : "If elements must be in same order as slices",
"definition" : "If the matching elements have to occur in the same order as defined in the profile.",
"comment" : "Order should only be required when it is a pressing concern for presentation. Profile authors should consider making the order a feature of the rules about the narrative, not the rules about the data - requiring ordered data makes the profile much less re-usable.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "boolean"
}],
"meaningWhenMissing" : "Order is not required unless specified",
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A"
},
{
"identity" : "iso11179",
"map" : "n/a"
}]
},
{
"id" : "ElementDefinition.slicing.rules",
"path" : "ElementDefinition.slicing.rules",
"short" : "closed | open | openAtEnd",
"definition" : "Whether additional slices are allowed or not. When the slices are ordered, profile authors can also say that additional slices are only allowed at the end.",
"comment" : "Allowing additional elements makes for a much for flexible template - it's open for use in wider contexts, but also means that the content of the resource is not closed, and applications have to decide how to handle content not described by the profile.",
"min" : 1,
"max" : "1",
"type" : [{
"code" : "code"
}],
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "SlicingRules"
}],
"strength" : "required",
"description" : "How slices are interpreted when evaluating an instance.",
"valueSet" : "http://hl7.org/fhir/ValueSet/resource-slicing-rules|4.0.0"
},
"mapping" : [{
"identity" : "rim",
"map" : "N/A"
},
{
"identity" : "iso11179",
"map" : "n/a"
}]
},
{
"id" : "ElementDefinition.short",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean" : true
}],
"path" : "ElementDefinition.short",
"short" : "Concise definition for space-constrained presentation",
"definition" : "A concise description of what this element means (e.g. for use in autogenerated summaries).",
"comment" : "It is easy for a different short definition to change the meaning of an element and this can have nasty downstream consequences. Please be careful when providing short definitions in a profile.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "string"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A"
},
{
"identity" : "iso11179",
"map" : "N/A"
}]
},
{
"id" : "ElementDefinition.definition",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean" : true
}],
"path" : "ElementDefinition.definition",
"short" : "Full formal definition as narrative text",
"definition" : "Provides a complete explanation of the meaning of the data element for human readability. For the case of elements derived from existing elements (e.g. constraints), the definition SHALL be consistent with the base definition, but convey the meaning of the element in the particular context of use of the resource. (Note: The text you are reading is specified in ElementDefinition.definition).",
"comment" : "It is easy for a different definition to change the meaning of an element and this can have nasty downstream consequences. Please be careful when providing definitions in a profile.",
"requirements" : "To allow a user to state the usage of an element in a particular context.",
"alias" : ["Description"],
"min" : 0,
"max" : "1",
"type" : [{
"code" : "markdown"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "OM1.6, OM1.41"
},
{
"identity" : "rim",
"map" : "./text"
},
{
"identity" : "iso11179",
"map" : "(Designatable_Item).definition.text acceptability=preferred in default context"
},
{
"identity" : "loinc",
"map" : "TERM DEFINITION/DESCRIPTION(S)"
}]
},
{
"id" : "ElementDefinition.comment",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean" : true
}],
"path" : "ElementDefinition.comment",
"short" : "Comments about the use of this element",
"definition" : "Explanatory notes and implementation guidance about the data element, including notes about how to use the data properly, exceptions to proper use, etc. (Note: The text you are reading is specified in ElementDefinition.comment).",
"comment" : "If it is possible to capture usage rules using constraints, that mechanism should be used in preference to this element.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "markdown"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "NTE, OM1.32, OM1.33, OM1.39"
},
{
"identity" : "rim",
"map" : "./inboundRelationship[typeCode=SUBJ]/source[classCode=LIST, moodCode=EVN]/code"
},
{
"identity" : "iso11179",
"map" : "(Administered_Item).explanatory_comment"
},
{
"identity" : "loinc",
"map" : "COMMENTS"
}]
},
{
"id" : "ElementDefinition.requirements",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean" : true
}],
"path" : "ElementDefinition.requirements",
"short" : "Why this resource has been created",
"definition" : "This element is for traceability of why the element was created and why the constraints exist as they do. This may be used to point to source materials or specifications that drove the structure of this element.",
"comment" : "This element does not describe the usage of the element (that's done in comments), rather it's for traceability of *why* the element is either needed or why the constraints exist as they do. This may be used to point to source materials or specifications that drove the structure of this data element.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "markdown"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "./inboundRelationship[typeCode=META]/source[classCode=ACT, moodCode=EVN, isCriterionInd=true]/reasonCode/originalText"
},
{
"identity" : "iso11179",
"map" : "(Registered_item).document_reference[document_type=requirements].notation"
}]
},
{
"id" : "ElementDefinition.alias",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean" : true
}],
"path" : "ElementDefinition.alias",
"short" : "Other names",
"definition" : "Identifies additional names by which this element might also be known.",
"requirements" : "Allows for better easier recognition of the element by multiple communities, including international communities.",
"alias" : ["synonym",
"other name"],
"min" : 0,
"max" : "*",
"type" : [{
"code" : "string"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "OM1.8, OM1.52"
},
{
"identity" : "rim",
"map" : "Not currently expressible"
},
{
"identity" : "iso11179",
"map" : "(Designatable_Item).designation.sign acceptability!=preferred or context is other than default"
},
{
"identity" : "loinc",
"map" : "RELATED NAMES (only some of these apply)"
}]
},
{
"id" : "ElementDefinition.min",
"path" : "ElementDefinition.min",
"short" : "Minimum Cardinality",
"definition" : "The minimum number of times this element SHALL appear in the instance.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "unsignedInt"
}],
"condition" : ["eld-2"],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
},
{
"identity" : "iso11179",
"map" : "Minimum size of data element values?"
}]
},
{
"id" : "ElementDefinition.max",
"path" : "ElementDefinition.max",
"short" : "Maximum Cardinality (a number or *)",
"definition" : "The maximum number of times this element is permitted to appear in the instance.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "string"
}],
"condition" : ["eld-3",
"eld-2"],
"constraint" : [{
"key" : "eld-3",
"severity" : "error",
"human" : "Max SHALL be a number or \"*\"",
"expression" : "empty() or ($this = '*') or (toInteger() >= 0)",
"xpath" : "@value='*' or (normalize-space(@value)!='' and normalize-space(translate(@value, '0123456789',''))='')"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "OMC.10"
},
{
"identity" : "rim",
"map" : "N/A (MIF territory)"
},
{
"identity" : "iso11179",
"map" : "Maximum size of data element values?"
}]
},
{
"id" : "ElementDefinition.base",
"path" : "ElementDefinition.base",
"short" : "Base definition information for tools",
"definition" : "Information about the base definition of the element, provided to make it unnecessary for tools to trace the deviation of the element through the derived and related profiles. When the element definition is not the original definition of an element - i.g. either in a constraint on another type, or for elements from a super type in a snap shot - then the information in provided in the element definition may be different to the base definition. On the original definition of the element, it will be same.",
"comment" : "The base information does not carry any information that could not be determined from the path and related profiles, but making this determination requires both that the related profiles are available, and that the algorithm to determine them be available. For tooling simplicity, the base information must always be populated in element definitions in snap shots, even if it is the same.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "Element"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
},
{
"identity" : "iso11179",
"map" : "n/a"
}]
},
{
"id" : "ElementDefinition.base.path",
"path" : "ElementDefinition.base.path",
"short" : "Path that identifies the base element",
"definition" : "The Path that identifies the base element - this matches the ElementDefinition.path for that element. Across FHIR, there is only one base definition of any element - that is, an element definition on a [StructureDefinition](structuredefinition.html#) without a StructureDefinition.base.",
"min" : 1,
"max" : "1",
"type" : [{
"code" : "string"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
},
{
"identity" : "iso11179",
"map" : "n/a"
}]
},
{
"id" : "ElementDefinition.base.min",
"path" : "ElementDefinition.base.min",
"short" : "Min cardinality of the base element",
"definition" : "Minimum cardinality of the base element identified by the path.",
"comment" : "This is provided for consistency with max, and may affect code generation of mandatory elements of the base resource are generated differently (some reference implementations have done this).",
"min" : 1,
"max" : "1",
"type" : [{
"code" : "unsignedInt"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
},
{
"identity" : "iso11179",
"map" : "n/a"
}]
},
{
"id" : "ElementDefinition.base.max",
"path" : "ElementDefinition.base.max",
"short" : "Max cardinality of the base element",
"definition" : "Maximum cardinality of the base element identified by the path.",
"comment" : "This is provided to code generation, since the serialization representation in JSON differs depending on whether the base element has max > 1. Also, some forms of code generation may differ.",
"min" : 1,
"max" : "1",
"type" : [{
"code" : "string"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
},
{
"identity" : "iso11179",
"map" : "n/a"
}]
},
{
"id" : "ElementDefinition.contentReference",
"path" : "ElementDefinition.contentReference",
"short" : "Reference to definition of content for the element",
"definition" : "Identifies an element defined elsewhere in the definition whose content rules should be applied to the current element. ContentReferences bring across all the rules that are in the ElementDefinition for the element, including definitions, cardinality constraints, bindings, invariants etc.",
"comment" : "ContentReferences can only be defined in specializations, not constrained types, and they cannot be changed and always reference the non-constrained definition.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "uri"
}],
"condition" : ["eld-5"],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A"
}]
},
{
"id" : "ElementDefinition.type",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
"valueString" : "TypeRef"
}],
"path" : "ElementDefinition.type",
"short" : "Data type and Profile for this element",
"definition" : "The data type or resource that the value of this element is permitted to be.",
"comment" : "The Type of the element can be left blank in a differential constraint, in which case the type is inherited from the resource. Abstract types are not permitted to appear as a type when multiple types are listed. (I.e. Abstract types cannot be part of a choice).",
"min" : 0,
"max" : "*",
"type" : [{
"code" : "Element"
}],
"condition" : ["eld-13"],
"constraint" : [{
"key" : "eld-4",
"severity" : "error",
"human" : "Aggregation may only be specified if one of the allowed types for the element is a reference",
"expression" : "aggregation.empty() or (code = 'Reference')",
"xpath" : "not(exists(f:aggregation)) or exists(f:code[@value = 'Reference'])"
},
{
"key" : "eld-17",
"severity" : "error",
"human" : "targetProfile is only allowed if the type is Reference or canonical",
"expression" : "(code='Reference' or code = 'canonical') or targetProfile.empty()",
"xpath" : "not(exists(f:targetProfile)) or (f:code/@value = 'Reference')"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "OM1.3, OMC.9"
},
{
"identity" : "rim",
"map" : "N/A (MIF territory)"
},
{
"identity" : "iso11179",
"map" : ".domain.data+Q14type"
},
{
"identity" : "dex",
"map" : "valueDomain.dataType"
},
{
"identity" : "loinc",
"map" : "HL7_V2_DATATYPE (translation required), HL7_V3_DATATYPE (translation required)"
}]
},
{
"id" : "ElementDefinition.type.code",
"path" : "ElementDefinition.type.code",
"short" : "Data type or Resource (reference to definition)",
"definition" : "URL of Data type or Resource that is a(or the) type used for this element. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition e.g. \"string\" is a reference to http://hl7.org/fhir/StructureDefinition/string. Absolute URLs are only allowed in logical models.",
"comment" : "If the element is a reference to another resource, this element contains \"Reference\", and the targetProfile element defines what resources can be referenced. The targetProfile may be a reference to the general definition of a resource (e.g. http://hl7.org/fhir/StructureDefinition/Patient).",
"min" : 1,
"max" : "1",
"type" : [{
"code" : "uri"
}],
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "FHIRDefinedTypeExt"
}],
"strength" : "extensible",
"description" : "Either a resource or a data type, including logical model types.",
"valueSet" : "http://hl7.org/fhir/ValueSet/defined-types"
},
"mapping" : [{
"identity" : "v2",
"map" : "OM1.3"
},
{
"identity" : "rim",
"map" : "N/A (MIF territory)"
},
{
"identity" : "iso11179",
"map" : ".domain.data+Q14type"
},
{
"identity" : "loinc",
"map" : "HL7_V2_DATATYPE (translation required), HL7_V3_DATATYPE (translation required)"
}]
},
{
"id" : "ElementDefinition.type.profile",
"path" : "ElementDefinition.type.profile",
"short" : "Profiles (StructureDefinition or IG) - one must apply",
"definition" : "Identifies a profile structure or implementation Guide that applies to the datatype this element refers to. If any profiles are specified, then the content must conform to at least one of them. The URL can be a local reference - to a contained StructureDefinition, or a reference to another StructureDefinition or Implementation Guide by a canonical URL. When an implementation guide is specified, the type SHALL conform to at least one profile defined in the implementation guide.",
"comment" : "It is possible to profile backbone element (e.g. part of a resource), using the [profile-element](extension-elementdefinition-profile-element.html) extension.",
"min" : 0,
"max" : "*",
"type" : [{
"code" : "canonical",
"targetProfile" : ["http://hl7.org/fhir/StructureDefinition/StructureDefinition",
"http://hl7.org/fhir/StructureDefinition/ImplementationGuide"]
}],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
},
{
"identity" : "iso11179",
"map" : "n/a"
}]
},
{
"id" : "ElementDefinition.type.targetProfile",
"path" : "ElementDefinition.type.targetProfile",
"short" : "Profile (StructureDefinition or IG) on the Reference/canonical target - one must apply",
"definition" : "Used when the type is \"Reference\" or \"canonical\", and identifies a profile structure or implementation Guide that applies to the target of the reference this element refers to. If any profiles are specified, then the content must conform to at least one of them. The URL can be a local reference - to a contained StructureDefinition, or a reference to another StructureDefinition or Implementation Guide by a canonical URL. When an implementation guide is specified, the target resource SHALL conform to at least one profile defined in the implementation guide.",
"min" : 0,
"max" : "*",
"type" : [{
"code" : "canonical",
"targetProfile" : ["http://hl7.org/fhir/StructureDefinition/StructureDefinition",
"http://hl7.org/fhir/StructureDefinition/ImplementationGuide"]
}],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
},
{
"identity" : "iso11179",
"map" : "n/a"
}]
},
{
"id" : "ElementDefinition.type.aggregation",
"path" : "ElementDefinition.type.aggregation",
"short" : "contained | referenced | bundled - how aggregated",
"definition" : "If the type is a reference to another resource, how the resource is or can be aggregated - is it a contained resource, or a reference, and if the context is a bundle, is it included in the bundle.",
"comment" : "See [Aggregation Rules](elementdefinition.html#aggregation) for further clarification.",
"min" : 0,
"max" : "*",
"type" : [{
"code" : "code"
}],
"condition" : ["eld-4"],
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "AggregationMode"
}],
"strength" : "required",
"description" : "How resource references can be aggregated.",
"valueSet" : "http://hl7.org/fhir/ValueSet/resource-aggregation-mode|4.0.0"
},
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
},
{
"identity" : "iso11179",
"map" : "n/a"
}]
},
{
"id" : "ElementDefinition.type.versioning",
"path" : "ElementDefinition.type.versioning",
"short" : "either | independent | specific",
"definition" : "Whether this reference needs to be version specific or version independent, or whether either can be used.",
"comment" : "The base specification never makes a rule as to which form is allowed, but implementation guides may do this. See [Aggregation Rules](elementdefinition.html#aggregation) for further clarification.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "code"
}],
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "ReferenceVersionRules"
}],
"strength" : "required",
"description" : "Whether a reference needs to be version specific or version independent, or whether either can be used.",
"valueSet" : "http://hl7.org/fhir/ValueSet/reference-version-rules|4.0.0"
},
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
}]
},
{
"id" : "ElementDefinition.defaultValue[x]",
"path" : "ElementDefinition.defaultValue[x]",
"short" : "Specified value if missing from instance",
"definition" : "The value that should be used if there is no value stated in the instance (e.g. 'if not otherwise specified, the abstract is false').",
"comment" : "Specifying a default value means that the property can never been unknown - it must always have a value. Further, the default value can never be changed, or changed in constraints on content models. Defining default values creates many difficulties in implementation (e.g. when is a value missing?). For these reasons, default values are (and should be) used extremely sparingly. \n\nNo default values are ever defined in the FHIR specification, nor can they be defined in constraints (\"profiles\") on data types or resources. This element only exists so that default values may be defined in logical models.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "base64Binary"
},
{
"code" : "boolean"
},
{
"code" : "canonical"
},
{
"code" : "code"
},
{
"code" : "date"
},
{
"code" : "dateTime"
},
{
"code" : "decimal"
},
{
"code" : "id"
},
{
"code" : "instant"
},
{
"code" : "integer"
},
{
"code" : "markdown"
},
{
"code" : "oid"
},
{
"code" : "positiveInt"
},
{
"code" : "string"
},
{
"code" : "time"
},
{
"code" : "unsignedInt"
},
{
"code" : "uri"
},
{
"code" : "url"
},
{
"code" : "uuid"
},
{
"code" : "Address"
},
{
"code" : "Age"
},
{
"code" : "Annotation"
},
{
"code" : "Attachment"
},
{
"code" : "CodeableConcept"
},
{
"code" : "Coding"
},
{
"code" : "ContactPoint"
},
{
"code" : "Count"
},
{
"code" : "Distance"
},
{
"code" : "Duration"
},
{
"code" : "HumanName"
},
{
"code" : "Identifier"
},
{
"code" : "Money"
},
{
"code" : "Period"
},
{
"code" : "Quantity"
},
{
"code" : "Range"
},
{
"code" : "Ratio"
},
{
"code" : "Reference"
},
{
"code" : "SampledData"
},
{
"code" : "Signature"
},
{
"code" : "Timing"
},
{
"code" : "ContactDetail"
},
{
"code" : "Contributor"
},
{
"code" : "DataRequirement"
},
{
"code" : "Expression"
},
{
"code" : "ParameterDefinition"
},
{
"code" : "RelatedArtifact"
},
{
"code" : "TriggerDefinition"
},
{
"code" : "UsageContext"
},
{
"code" : "Dosage"
}],
"condition" : ["eld-15"],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
}]
},
{
"id" : "ElementDefinition.meaningWhenMissing",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean" : true
}],
"path" : "ElementDefinition.meaningWhenMissing",
"short" : "Implicit meaning when this element is missing",
"definition" : "The Implicit meaning that is to be understood when this element is missing (e.g. 'when this element is missing, the period is ongoing').",
"comment" : "Implicit meanings for missing values can only be specified on a resource, data type, or extension definition, and never in a profile that applies to one of these. An implicit meaning for a missing value can never be changed, and specifying one has the consequence that constraining its use in profiles eliminates use cases as possibilities, not merely moving them out of scope.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "markdown"
}],
"condition" : ["eld-15"],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
}]
},
{
"id" : "ElementDefinition.orderMeaning",
"path" : "ElementDefinition.orderMeaning",
"short" : "What the order of the elements means",
"definition" : "If present, indicates that the order of the repeating element has meaning and describes what that meaning is. If absent, it means that the order of the element has no meaning.",
"comment" : "This element can only be asserted on repeating elements and can only be introduced when defining resources or data types. It can be further refined profiled elements but if absent in the base type, a profile cannot assert meaning.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "string"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
}]
},
{
"id" : "ElementDefinition.fixed[x]",
"path" : "ElementDefinition.fixed[x]",
"short" : "Value must be exactly this",
"definition" : "Specifies a value that SHALL be exactly the value for this element in the instance. For purposes of comparison, non-significant whitespace is ignored, and all values must be an exact match (case and accent sensitive). Missing elements/attributes must also be missing.",
"comment" : "This is not recommended for Coding and CodeableConcept since these often have highly contextual properties such as version or display.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "base64Binary"
},
{
"code" : "boolean"
},
{
"code" : "canonical"
},
{
"code" : "code"
},
{
"code" : "date"
},
{
"code" : "dateTime"
},
{
"code" : "decimal"
},
{
"code" : "id"
},
{
"code" : "instant"
},
{
"code" : "integer"
},
{
"code" : "markdown"
},
{
"code" : "oid"
},
{
"code" : "positiveInt"
},
{
"code" : "string"
},
{
"code" : "time"
},
{
"code" : "unsignedInt"
},
{
"code" : "uri"
},
{
"code" : "url"
},
{
"code" : "uuid"
},
{
"code" : "Address"
},
{
"code" : "Age"
},
{
"code" : "Annotation"
},
{
"code" : "Attachment"
},
{
"code" : "CodeableConcept"
},
{
"code" : "Coding"
},
{
"code" : "ContactPoint"
},
{
"code" : "Count"
},
{
"code" : "Distance"
},
{
"code" : "Duration"
},
{
"code" : "HumanName"
},
{
"code" : "Identifier"
},
{
"code" : "Money"
},
{
"code" : "Period"
},
{
"code" : "Quantity"
},
{
"code" : "Range"
},
{
"code" : "Ratio"
},
{
"code" : "Reference"
},
{
"code" : "SampledData"
},
{
"code" : "Signature"
},
{
"code" : "Timing"
},
{
"code" : "ContactDetail"
},
{
"code" : "Contributor"
},
{
"code" : "DataRequirement"
},
{
"code" : "Expression"
},
{
"code" : "ParameterDefinition"
},
{
"code" : "RelatedArtifact"
},
{
"code" : "TriggerDefinition"
},
{
"code" : "UsageContext"
},
{
"code" : "Dosage"
}],
"condition" : ["eld-5",
"eld-6",
"eld-8"],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
},
{
"identity" : "iso11179",
"map" : "N/A (only relevant when constraining, which 11179 doesn't do)"
}]
},
{
"id" : "ElementDefinition.pattern[x]",
"path" : "ElementDefinition.pattern[x]",
"short" : "Value must have at least these property values",
"definition" : "Specifies a value that the value in the instance SHALL follow - that is, any value in the pattern must be found in the instance. Other additional values may be found too. This is effectively constraint by example. \n\nWhen pattern[x] is used to constrain a primitive, it means that the value provided in the pattern[x] must match the instance value exactly.\n\nWhen pattern[x] is used to constrain an array, it means that each element provided in the pattern[x] array must (recursively) match at least one element from the instance array.\n\nWhen pattern[x] is used to constrain a complex object, it means that each property in the pattern must be present in the complex object, and its value must recursively match -- i.e.,\n\n1. If primitive: it must match exactly the pattern value\n2. If a complex object: it must match (recursively) the pattern value\n3. If an array: it must match (recursively) the pattern value.",
"comment" : "Mostly used for fixing values of CodeableConcept. In general, pattern[x] is not intended for use with primitive types, where is has the same meaning as fixed[x].",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "base64Binary"
},
{
"code" : "boolean"
},
{
"code" : "canonical"
},
{
"code" : "code"
},
{
"code" : "date"
},
{
"code" : "dateTime"
},
{
"code" : "decimal"
},
{
"code" : "id"
},
{
"code" : "instant"
},
{
"code" : "integer"
},
{
"code" : "markdown"
},
{
"code" : "oid"
},
{
"code" : "positiveInt"
},
{
"code" : "string"
},
{
"code" : "time"
},
{
"code" : "unsignedInt"
},
{
"code" : "uri"
},
{
"code" : "url"
},
{
"code" : "uuid"
},
{
"code" : "Address"
},
{
"code" : "Age"
},
{
"code" : "Annotation"
},
{
"code" : "Attachment"
},
{
"code" : "CodeableConcept"
},
{
"code" : "Coding"
},
{
"code" : "ContactPoint"
},
{
"code" : "Count"
},
{
"code" : "Distance"
},
{
"code" : "Duration"
},
{
"code" : "HumanName"
},
{
"code" : "Identifier"
},
{
"code" : "Money"
},
{
"code" : "Period"
},
{
"code" : "Quantity"
},
{
"code" : "Range"
},
{
"code" : "Ratio"
},
{
"code" : "Reference"
},
{
"code" : "SampledData"
},
{
"code" : "Signature"
},
{
"code" : "Timing"
},
{
"code" : "ContactDetail"
},
{
"code" : "Contributor"
},
{
"code" : "DataRequirement"
},
{
"code" : "Expression"
},
{
"code" : "ParameterDefinition"
},
{
"code" : "RelatedArtifact"
},
{
"code" : "TriggerDefinition"
},
{
"code" : "UsageContext"
},
{
"code" : "Dosage"
}],
"condition" : ["eld-5",
"eld-7",
"eld-8"],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
}]
},
{
"id" : "ElementDefinition.example",
"path" : "ElementDefinition.example",
"short" : "Example value (as defined for type)",
"definition" : "A sample value for this element demonstrating the type of information that would typically be found in the element.",
"comment" : "Examples will most commonly be present for data where it's not implicitly obvious from either the data type or value set what the values might be. (I.e. Example values for dates or quantities would generally be unnecessary.) If the example value is fully populated, the publication tool can generate an instance automatically.",
"min" : 0,
"max" : "*",
"type" : [{
"code" : "Element"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
}]
},
{
"id" : "ElementDefinition.example.label",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean" : true
}],
"path" : "ElementDefinition.example.label",
"short" : "Describes the purpose of this example",
"definition" : "Describes the purpose of this example amoung the set of examples.",
"min" : 1,
"max" : "1",
"type" : [{
"code" : "string"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
}]
},
{
"id" : "ElementDefinition.example.value[x]",
"path" : "ElementDefinition.example.value[x]",
"short" : "Value of Example (one of allowed types)",
"definition" : "The actual value for the element, which must be one of the types allowed for this element.",
"min" : 1,
"max" : "1",
"type" : [{
"code" : "base64Binary"
},
{
"code" : "boolean"
},
{
"code" : "canonical"
},
{
"code" : "code"
},
{
"code" : "date"
},
{
"code" : "dateTime"
},
{
"code" : "decimal"
},
{
"code" : "id"
},
{
"code" : "instant"
},
{
"code" : "integer"
},
{
"code" : "markdown"
},
{
"code" : "oid"
},
{
"code" : "positiveInt"
},
{
"code" : "string"
},
{
"code" : "time"
},
{
"code" : "unsignedInt"
},
{
"code" : "uri"
},
{
"code" : "url"
},
{
"code" : "uuid"
},
{
"code" : "Address"
},
{
"code" : "Age"
},
{
"code" : "Annotation"
},
{
"code" : "Attachment"
},
{
"code" : "CodeableConcept"
},
{
"code" : "Coding"
},
{
"code" : "ContactPoint"
},
{
"code" : "Count"
},
{
"code" : "Distance"
},
{
"code" : "Duration"
},
{
"code" : "HumanName"
},
{
"code" : "Identifier"
},
{
"code" : "Money"
},
{
"code" : "Period"
},
{
"code" : "Quantity"
},
{
"code" : "Range"
},
{
"code" : "Ratio"
},
{
"code" : "Reference"
},
{
"code" : "SampledData"
},
{
"code" : "Signature"
},
{
"code" : "Timing"
},
{
"code" : "ContactDetail"
},
{
"code" : "Contributor"
},
{
"code" : "DataRequirement"
},
{
"code" : "Expression"
},
{
"code" : "ParameterDefinition"
},
{
"code" : "RelatedArtifact"
},
{
"code" : "TriggerDefinition"
},
{
"code" : "UsageContext"
},
{
"code" : "Dosage"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
},
{
"identity" : "iso11179",
"map" : ".example"
},
{
"identity" : "loinc",
"map" : "EXMPL_ANSWERS"
}]
},
{
"id" : "ElementDefinition.minValue[x]",
"path" : "ElementDefinition.minValue[x]",
"short" : "Minimum Allowed Value (for some types)",
"definition" : "The minimum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.",
"comment" : "Except for date/date/instant, the type of the minValue[x] SHALL be the same as the specified type of the element. For the date/dateTime/instant values, the type of minValue[x] SHALL be either the same, or a [Duration](datatypes.html#Duration) which specifies a relative time limit to the current time. The duration value is positive, and is subtracted from the current clock to determine the minimum allowable value. A minimum value for a Quantity is interpreted as an canonical minimum - e.g. you cannot provide 100mg if the minimum value is 10g.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "date"
},
{
"code" : "dateTime"
},
{
"code" : "instant"
},
{
"code" : "time"
},
{
"code" : "decimal"
},
{
"code" : "integer"
},
{
"code" : "positiveInt"
},
{
"code" : "unsignedInt"
},
{
"code" : "Quantity"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
}]
},
{
"id" : "ElementDefinition.maxValue[x]",
"path" : "ElementDefinition.maxValue[x]",
"short" : "Maximum Allowed Value (for some types)",
"definition" : "The maximum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.",
"comment" : "Except for date/date/instant, the type of the maxValue[x] SHALL be the same as the specified type of the element. For the date/dateTime/instant values, the type of maxValue[x] SHALL be either the same, or a [Duration](datatypes.html#Duration) which specifies a relative time limit to the current time. The duration value is positive, and is added to the current clock to determine the maximum allowable value. A maximum value for a Quantity is interpreted as an canonical maximum - e.g. you cannot provide 10g if the maximum value is 50mg.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "date"
},
{
"code" : "dateTime"
},
{
"code" : "instant"
},
{
"code" : "time"
},
{
"code" : "decimal"
},
{
"code" : "integer"
},
{
"code" : "positiveInt"
},
{
"code" : "unsignedInt"
},
{
"code" : "Quantity"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
}]
},
{
"id" : "ElementDefinition.maxLength",
"path" : "ElementDefinition.maxLength",
"short" : "Max length for strings",
"definition" : "Indicates the maximum length in characters that is permitted to be present in conformant instances and which is expected to be supported by conformant consumers that support the element.",
"comment" : "Receivers are not required to reject instances that exceed the maximum length. The full length could be stored. In some cases, data might be truncated, though truncation should be undertaken with care and an understanding of the consequences of doing so. If not specified, there is no conformance expectation for length support.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "integer"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "OMC.12"
},
{
"identity" : "rim",
"map" : "N/A (MIF territory)"
},
{
"identity" : "iso11179",
"map" : ".domain.maximum_character_quantity"
}]
},
{
"id" : "ElementDefinition.condition",
"path" : "ElementDefinition.condition",
"short" : "Reference to invariant about presence",
"definition" : "A reference to an invariant that may make additional statements about the cardinality or value in the instance.",
"min" : 0,
"max" : "*",
"type" : [{
"code" : "id"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
}]
},
{
"id" : "ElementDefinition.constraint",
"path" : "ElementDefinition.constraint",
"short" : "Condition that must evaluate to true",
"definition" : "Formal constraints such as co-occurrence and other constraints that can be computationally evaluated within the context of the instance.",
"comment" : "Constraints should be declared on the \"context\" element - the lowest element in the hierarchy that is common to all nodes referenced by the constraint.",
"min" : 0,
"max" : "*",
"type" : [{
"code" : "Element"
}],
"constraint" : [{
"key" : "eld-21",
"severity" : "warning",
"human" : "Constraints should have an expression or else validators will not be able to enforce them",
"expression" : "expression.exists()",
"xpath" : "exists(f:expression/@value)"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
},
{
"identity" : "iso11179",
"map" : "??"
}]
},
{
"id" : "ElementDefinition.constraint.key",
"path" : "ElementDefinition.constraint.key",
"short" : "Target of 'condition' reference above",
"definition" : "Allows identification of which elements have their cardinalities impacted by the constraint. Will not be referenced for constraints that do not affect cardinality.",
"min" : 1,
"max" : "1",
"type" : [{
"code" : "id"
}],
"condition" : ["eld-14"],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
}]
},
{
"id" : "ElementDefinition.constraint.requirements",
"path" : "ElementDefinition.constraint.requirements",
"short" : "Why this constraint is necessary or appropriate",
"definition" : "Description of why this constraint is necessary or appropriate.",
"comment" : "To be used if the reason for the constraint might not be intuitive to all implementers.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "string"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
}]
},
{
"id" : "ElementDefinition.constraint.severity",
"path" : "ElementDefinition.constraint.severity",
"short" : "error | warning",
"definition" : "Identifies the impact constraint violation has on the conformance of the instance.",
"comment" : "This allows constraints to be asserted as \"shall\" (error) and \"should\" (warning).",
"min" : 1,
"max" : "1",
"type" : [{
"code" : "code"
}],
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "ConstraintSeverity"
}],
"strength" : "required",
"description" : "SHALL applications comply with this constraint?",
"valueSet" : "http://hl7.org/fhir/ValueSet/constraint-severity|4.0.0"
},
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
}]
},
{
"id" : "ElementDefinition.constraint.human",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean" : true
}],
"path" : "ElementDefinition.constraint.human",
"short" : "Human description of constraint",
"definition" : "Text that can be used to describe the constraint in messages identifying that the constraint has been violated.",
"comment" : "Should be expressed in business terms as much as possible.",
"min" : 1,
"max" : "1",
"type" : [{
"code" : "string"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
}]
},
{
"id" : "ElementDefinition.constraint.expression",
"path" : "ElementDefinition.constraint.expression",
"short" : "FHIRPath expression of constraint",
"definition" : "A [FHIRPath](fhirpath.html) expression of constraint that can be executed to see if this constraint is met.",
"comment" : "In the absense of an expression, the expression is likely not enforceable by validators, and might be missed by many systems.",
"requirements" : "Used by validation tooling tests of the validity of the resource.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "string"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
}]
},
{
"id" : "ElementDefinition.constraint.xpath",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "trial-use"
}],
"path" : "ElementDefinition.constraint.xpath",
"short" : "XPath expression of constraint",
"definition" : "An XPath expression of constraint that can be executed to see if this constraint is met.",
"comment" : "Elements SHALL use \"f\" as the namespace prefix for the FHIR namespace, and \"x\" for the xhtml namespace, and SHALL NOT use any other prefixes. Note: XPath is generally considered not useful because it does not apply to JSON and other formats and because of XSLT implementation issues, and may be removed in the future.",
"requirements" : "Used in Schematron tests of the validity of the resource.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "string"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
}]
},
{
"id" : "ElementDefinition.constraint.source",
"path" : "ElementDefinition.constraint.source",
"short" : "Reference to original source of constraint",
"definition" : "A reference to the original source of the constraint, for traceability purposes.",
"comment" : "This is used when, e.g. rendering, where it is not useful to present inherited constraints when rendering the snapshot.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "canonical",
"targetProfile" : ["http://hl7.org/fhir/StructureDefinition/StructureDefinition"]
}],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
}]
},
{
"id" : "ElementDefinition.mustSupport",
"path" : "ElementDefinition.mustSupport",
"short" : "If the element must be supported",
"definition" : "If true, implementations that produce or consume resources SHALL provide \"support\" for the element in some meaningful way. If false, the element may be ignored and not supported. If false, whether to populate or use the data element in any way is at the discretion of the implementation.",
"comment" : "\"Something useful\" is context dependent and impossible to describe in the base FHIR specification. For this reason, tue mustSupport flag is never set to true by the FHIR specification itself - it is only set to true in profiles. A profile on a type can always make musSupport = true if it is false in the base type but cannot make mustSupport = false if it is true in the base type. This is done in [Resource Profiles](profiling.html#mustsupport), where the profile labels an element as mustSupport=true. When a profile does this, it SHALL also make clear exactly what kind of \"support\" is required, as this can mean many things. Note that an element that has the property IsModifier is not necessarily a \"key\" element (e.g. one of the important elements to make use of the resource), nor is it automatically mustSupport - however both of these things are more likely to be true for IsModifier elements than for other elements.",
"requirements" : "Allows a profile to set expectations for system capabilities beyond merely respecting cardinality constraints.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "boolean"
}],
"meaningWhenMissing" : "In a base type, where the element is being defined for the first time, the element is assumed to be mustSupport = false. In a profile (a constraint on an existing type), if mustSupport is not specific in either the differentil or the snapshot, the mustSupport value is not changed fro the base definition. Not, though, that the snapshot SHOULD always populate the mustSuppot value",
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
},
{
"identity" : "iso11179",
"map" : "??"
}]
},
{
"id" : "ElementDefinition.isModifier",
"path" : "ElementDefinition.isModifier",
"short" : "If this modifies the meaning of other elements",
"definition" : "If true, the value of this element affects the interpretation of the element or resource that contains it, and the value of the element cannot be ignored. Typically, this is used for status, negation and qualification codes. The effect of this is that the element cannot be ignored by systems: they SHALL either recognize the element and process it, and/or a pre-determination has been made that it is not relevant to their particular system.",
"comment" : "Only the definition of an element can set IsModifier true - either the specification itself or where an extension is originally defined. Once set, it cannot be changed in derived profiles. An element/extension that has isModifier=true SHOULD also have a minimum cardinality of 1, so that there is no lack of clarity about what to do if it is missing. If it can be missing, the definition SHALL make the meaning of a missing element clear.",
"requirements" : "Allows elements to be introduced into a specification that can't safely be ignored by applications that don't recognize them.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "boolean"
}],
"meaningWhenMissing" : "An element is not a modifier element unless it is explicitly specified to be one",
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
},
{
"identity" : "iso11179",
"map" : "??"
}]
},
{
"id" : "ElementDefinition.isModifierReason",
"path" : "ElementDefinition.isModifierReason",
"short" : "Reason that this element is marked as a modifier",
"definition" : "Explains how that element affects the interpretation of the resource or element that contains it.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "string"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
}]
},
{
"id" : "ElementDefinition.isSummary",
"path" : "ElementDefinition.isSummary",
"short" : "Include when _summary = true?",
"definition" : "Whether the element should be included if a client requests a search with the parameter _summary=true.",
"comment" : "Some resources include a set of simple metadata, and some very large data. This element is used to reduce the quantity of data returned in searches. Note that servers may pre-cache summarized resources for optimal performance, so servers might not support per-profile use of the isSummary flag. When a request is made with _summary=true, serailisers only include elements marked as 'isSummary = true'. Other than Attachment.data, all data type properties are included in the summary form. In resource and data type definitions, if an element is at the root or has a parent that is 'mustSupport' and the minimum cardinality is 1 or the element is a modifier, it must be marked as isSummary=true.",
"requirements" : "Allow clients to search through large resources quickly.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "boolean"
}],
"meaningWhenMissing" : "An element is not included in the summary unless it is explicitly specified to be so",
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
},
{
"identity" : "iso11179",
"map" : "??"
}]
},
{
"id" : "ElementDefinition.binding",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
"valueString" : "ElementDefinitionBinding"
}],
"path" : "ElementDefinition.binding",
"short" : "ValueSet details if this is coded",
"definition" : "Binds to a value set if this element is coded (code, Coding, CodeableConcept, Quantity), or the data types (string, uri).",
"comment" : "For a CodeableConcept, when no codes are allowed - only text, use a binding of strength \"required\" with a description explaining that no coded values are allowed and what sort of information to put in the \"text\" element.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "Element"
}],
"condition" : ["eld-11"],
"constraint" : [{
"key" : "eld-12",
"severity" : "error",
"human" : "ValueSet SHALL start with http:// or https:// or urn:",
"expression" : "valueSet.exists() implies (valueSet.startsWith('http:') or valueSet.startsWith('https') or valueSet.startsWith('urn:'))",
"xpath" : "(starts-with(string(f:valueSet/@value), 'http:') or starts-with(string(f:valueSet/@value), 'https:') or starts-with(string(f:valueSet/@value), 'urn:'))"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "OM3, OMC.11"
},
{
"identity" : "rim",
"map" : "N/A (MIF territory)"
},
{
"identity" : "iso11179",
"map" : ".domain"
},
{
"identity" : "loinc",
"map" : "ANSWER LIST, NORMATIVE ANSWER LIST"
}]
},
{
"id" : "ElementDefinition.binding.strength",
"path" : "ElementDefinition.binding.strength",
"short" : "required | extensible | preferred | example",
"definition" : "Indicates the degree of conformance expectations associated with this binding - that is, the degree to which the provided value set must be adhered to in the instances.",
"comment" : "For further discussion, see [Using Terminologies](terminologies.html).",
"alias" : ["conformance",
"extensibility"],
"min" : 1,
"max" : "1",
"type" : [{
"code" : "code"
}],
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "BindingStrength"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
"valueBoolean" : true
}],
"strength" : "required",
"description" : "Indication of the degree of conformance expectations associated with a binding.",
"valueSet" : "http://hl7.org/fhir/ValueSet/binding-strength|4.0.0"
},
"mapping" : [{
"identity" : "v2",
"map" : "N/A"
},
{
"identity" : "rim",
"map" : "N/A (MIF territory)"
},
{
"identity" : "loinc",
"map" : "N/A"
}]
},
{
"id" : "ElementDefinition.binding.description",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean" : true
}],
"path" : "ElementDefinition.binding.description",
"short" : "Human explanation of the value set",
"definition" : "Describes the intended use of this particular set of codes.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "string"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
},
{
"identity" : "iso11179",
"map" : ".domain.description"
}]
},
{
"id" : "ElementDefinition.binding.valueSet",
"path" : "ElementDefinition.binding.valueSet",
"short" : "Source of value set",
"definition" : "Refers to the value set that identifies the set of codes the binding refers to.",
"comment" : "The reference may be version-specific or not (e.g. have a |[version] at the end of the canonical URL).",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "canonical",
"targetProfile" : ["http://hl7.org/fhir/StructureDefinition/ValueSet"]
}],
"condition" : ["eld-12"],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
},
{
"identity" : "iso11179",
"map" : "points to explicit list or expression that evaluates to list of (Enumerated_Value_Domain).member"
},
{
"identity" : "dex",
"map" : "valueDomain.valueSet"
},
{
"identity" : "loinc",
"map" : "CODE_TABLE"
}]
},
{
"id" : "ElementDefinition.mapping",
"path" : "ElementDefinition.mapping",
"short" : "Map element to another set of definitions",
"definition" : "Identifies a concept from an external specification that roughly corresponds to this element.",
"comment" : "Mappings are not necessarily specific enough for safe translation.",
"requirements" : "Provides guidance to implementers familiar with or converting content from other specifications.",
"min" : 0,
"max" : "*",
"type" : [{
"code" : "Element"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
},
{
"identity" : "iso11179",
"map" : "Registered_item).document_reference[document_type=mapping] Also, .meaning linkage to Data_Element_Concept is done as a mapping to a reference model. (Data_Element_Concepts are all defined in some sort of reference model, be that Object_Class and Property or some other mechanism)"
},
{
"identity" : "dex",
"map" : "mappingSpecification"
}]
},
{
"id" : "ElementDefinition.mapping.identity",
"path" : "ElementDefinition.mapping.identity",
"short" : "Reference to mapping declaration",
"definition" : "An internal reference to the definition of a mapping.",
"min" : 1,
"max" : "1",
"type" : [{
"code" : "id"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
}]
},
{
"id" : "ElementDefinition.mapping.language",
"path" : "ElementDefinition.mapping.language",
"short" : "Computable language of mapping",
"definition" : "Identifies the computable language in which mapping.map is expressed.",
"comment" : "If omitted, then there can be no expectation of computational interpretation of the mapping.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "code"
}],
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "MimeType"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
"valueBoolean" : true
}],
"strength" : "required",
"description" : "The mime type of an attachment. Any valid mime type is allowed.",
"valueSet" : "http://hl7.org/fhir/ValueSet/mimetypes|4.0.0"
},
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
}]
},
{
"id" : "ElementDefinition.mapping.map",
"path" : "ElementDefinition.mapping.map",
"short" : "Details of the mapping",
"definition" : "Expresses what part of the target specification corresponds to this element.",
"comment" : "For most mappings, the syntax is undefined. Syntax will be provided for mappings to the RIM. Multiple mappings may be possible and may include constraints on other resource elements that identify when a particular mapping applies.",
"min" : 1,
"max" : "1",
"type" : [{
"code" : "string"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
},
{
"identity" : "iso11179",
"map" : "ObjectClass, Property (this is one possible data model that can be mapped to - the uri would identify the data model mappingSpecification.mappingScript"
}]
},
{
"id" : "ElementDefinition.mapping.comment",
"path" : "ElementDefinition.mapping.comment",
"short" : "Comments about the mapping or its use",
"definition" : "Comments that provide information about the mapping or its use.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "string"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
}]
}]
}
}
},
{
"fullUrl" : "http://hl7.org/fhir/StructureDefinition/Expression",
"resource" : {
"resourceType" : "StructureDefinition",
"id" : "Expression",
"meta" : {
"lastUpdated" : "2018-12-27T22:37:54.724+11:00"
},
"text" : {
"status" : "generated",
"div" : "
"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "trial-use"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/Expression",
"version" : "4.0.0",
"name" : "Expression",
"status" : "draft",
"date" : "2018-12-27T22:37:54+11:00",
"publisher" : "HL7 FHIR Standard",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
}]
}],
"description" : "Base StructureDefinition for Expression Type: A expression that is evaluated in a specified context and returns a value. The context of use of the expression must specify the context in which the expression is evaluated, and how the result of the expression is used.",
"fhirVersion" : "4.0.0",
"mapping" : [{
"identity" : "rim",
"uri" : "http://hl7.org/v3",
"name" : "RIM Mapping"
}],
"kind" : "complex-type",
"abstract" : false,
"type" : "Expression",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Element",
"derivation" : "specialization",
"snapshot" : {
"element" : [{
"id" : "Expression",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "trial-use"
}],
"path" : "Expression",
"short" : "An expression that can be used to generate a value",
"definition" : "A expression that is evaluated in a specified context and returns a value. The context of use of the expression must specify the context in which the expression is evaluated, and how the result of the expression is used.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "Expression",
"min" : 0,
"max" : "*"
},
"condition" : ["ele-1"],
"constraint" : [{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() or (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "Element"
},
{
"key" : "exp-1",
"severity" : "error",
"human" : "An expression or a reference must be provided",
"expression" : "expression.exists() or reference.exists()",
"xpath" : "exists(f:expression) or exists(f:reference)"
}],
"isModifier" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "Expression.id",
"path" : "Expression.id",
"representation" : ["xmlAttr"],
"short" : "Unique id for inter-element referencing",
"definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "Expression.extension",
"path" : "Expression.extension",
"slicing" : {
"discriminator" : [{
"type" : "value",
"path" : "url"
}],
"description" : "Extensions are always sliced by (at least) url",
"rules" : "open"
},
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "Expression.description",
"path" : "Expression.description",
"short" : "Natural language description of the condition",
"definition" : "A brief, natural language description of the condition that effectively communicates the intended semantics.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Expression.description",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : true
},
{
"id" : "Expression.name",
"path" : "Expression.name",
"short" : "Short name assigned to expression for reuse",
"definition" : "A short name assigned to the expression to allow for multiple reuse of the expression in the context where it is defined.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Expression.name",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "id"
}],
"isModifier" : false,
"isSummary" : true
},
{
"id" : "Expression.language",
"path" : "Expression.language",
"short" : "text/cql | text/fhirpath | application/x-fhir-query | etc.",
"definition" : "The media type of the language for the expression.",
"min" : 1,
"max" : "1",
"base" : {
"path" : "Expression.language",
"min" : 1,
"max" : "1"
},
"type" : [{
"code" : "code"
}],
"isModifier" : false,
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
"valueCanonical" : "http://www.rfc-editor.org/bcp/bcp13.txt"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "ExpressionLanguage"
}],
"strength" : "extensible",
"description" : "The media type of the expression language.",
"valueSet" : "http://hl7.org/fhir/ValueSet/expression-language"
}
},
{
"id" : "Expression.expression",
"path" : "Expression.expression",
"short" : "Expression in specified language",
"definition" : "An expression in the specified language that returns a value.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Expression.expression",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : true
},
{
"id" : "Expression.reference",
"path" : "Expression.reference",
"short" : "Where the expression is found",
"definition" : "A URI that defines where the expression is found.",
"comment" : "If both a reference and an expression is found, the reference SHALL point to the same expression.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Expression.reference",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "uri"
}],
"isModifier" : false,
"isSummary" : true
}]
},
"differential" : {
"element" : [{
"id" : "Expression",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "trial-use"
}],
"path" : "Expression",
"short" : "An expression that can be used to generate a value",
"definition" : "A expression that is evaluated in a specified context and returns a value. The context of use of the expression must specify the context in which the expression is evaluated, and how the result of the expression is used.",
"min" : 0,
"max" : "*",
"constraint" : [{
"key" : "exp-1",
"severity" : "error",
"human" : "An expression or a reference must be provided",
"expression" : "expression.exists() or reference.exists()",
"xpath" : "exists(f:expression) or exists(f:reference)"
}]
},
{
"id" : "Expression.description",
"path" : "Expression.description",
"short" : "Natural language description of the condition",
"definition" : "A brief, natural language description of the condition that effectively communicates the intended semantics.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "string"
}],
"isSummary" : true
},
{
"id" : "Expression.name",
"path" : "Expression.name",
"short" : "Short name assigned to expression for reuse",
"definition" : "A short name assigned to the expression to allow for multiple reuse of the expression in the context where it is defined.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "id"
}],
"isSummary" : true
},
{
"id" : "Expression.language",
"path" : "Expression.language",
"short" : "text/cql | text/fhirpath | application/x-fhir-query | etc.",
"definition" : "The media type of the language for the expression.",
"min" : 1,
"max" : "1",
"type" : [{
"code" : "code"
}],
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
"valueCanonical" : "http://www.rfc-editor.org/bcp/bcp13.txt"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "ExpressionLanguage"
}],
"strength" : "extensible",
"description" : "The media type of the expression language.",
"valueSet" : "http://hl7.org/fhir/ValueSet/expression-language"
}
},
{
"id" : "Expression.expression",
"path" : "Expression.expression",
"short" : "Expression in specified language",
"definition" : "An expression in the specified language that returns a value.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "string"
}],
"isSummary" : true
},
{
"id" : "Expression.reference",
"path" : "Expression.reference",
"short" : "Where the expression is found",
"definition" : "A URI that defines where the expression is found.",
"comment" : "If both a reference and an expression is found, the reference SHALL point to the same expression.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "uri"
}],
"isSummary" : true
}]
}
}
},
{
"fullUrl" : "http://hl7.org/fhir/StructureDefinition/Extension",
"resource" : {
"resourceType" : "StructureDefinition",
"id" : "Extension",
"meta" : {
"lastUpdated" : "2018-12-27T22:37:54.724+11:00"
},
"text" : {
"status" : "generated",
"div" : "
"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/HumanName",
"version" : "4.0.0",
"name" : "HumanName",
"status" : "active",
"date" : "2018-12-27T22:37:54+11:00",
"publisher" : "HL7 FHIR Standard",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
}]
}],
"description" : "Base StructureDefinition for HumanName Type: A human's name with the ability to identify parts and usage.",
"purpose" : "Need to be able to record names, along with notes about their use.",
"fhirVersion" : "4.0.0",
"mapping" : [{
"identity" : "v2",
"uri" : "http://hl7.org/v2",
"name" : "HL7 v2 Mapping"
},
{
"identity" : "rim",
"uri" : "http://hl7.org/v3",
"name" : "RIM Mapping"
},
{
"identity" : "servd",
"uri" : "http://www.omg.org/spec/ServD/1.0/",
"name" : "ServD"
}],
"kind" : "complex-type",
"abstract" : false,
"type" : "HumanName",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Element",
"derivation" : "specialization",
"snapshot" : {
"element" : [{
"id" : "HumanName",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"path" : "HumanName",
"short" : "Name of a human - parts and usage",
"definition" : "A human's name with the ability to identify parts and usage.",
"comment" : "Names may be changed, or repudiated, or people may have different names in different contexts. Names may be divided into parts of different type that have variable significance depending on context, though the division into parts does not always matter. With personal names, the different parts might or might not be imbued with some implicit meaning; various cultures associate different importance with the name parts and the degree to which systems must care about name parts around the world varies widely.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "HumanName",
"min" : 0,
"max" : "*"
},
"condition" : ["ele-1"],
"constraint" : [{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() or (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "Element"
}],
"isModifier" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
},
{
"identity" : "v2",
"map" : "XPN"
},
{
"identity" : "rim",
"map" : "EN (actually, PN)"
},
{
"identity" : "servd",
"map" : "ProviderName"
}]
},
{
"id" : "HumanName.id",
"path" : "HumanName.id",
"representation" : ["xmlAttr"],
"short" : "Unique id for inter-element referencing",
"definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "HumanName.extension",
"path" : "HumanName.extension",
"slicing" : {
"discriminator" : [{
"type" : "value",
"path" : "url"
}],
"description" : "Extensions are always sliced by (at least) url",
"rules" : "open"
},
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "HumanName.use",
"path" : "HumanName.use",
"short" : "usual | official | temp | nickname | anonymous | old | maiden",
"definition" : "Identifies the purpose for this name.",
"comment" : "Applications can assume that a name is current unless it explicitly says that it is temporary or old.",
"requirements" : "Allows the appropriate name for a particular context of use to be selected from among a set of names.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "HumanName.use",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "code"
}],
"isModifier" : true,
"isModifierReason" : "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old name etc.for a current/permanent one",
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "NameUse"
}],
"strength" : "required",
"description" : "The use of a human name.",
"valueSet" : "http://hl7.org/fhir/ValueSet/name-use|4.0.0"
},
"mapping" : [{
"identity" : "v2",
"map" : "XPN.7, but often indicated by which field contains the name"
},
{
"identity" : "rim",
"map" : "unique(./use)"
},
{
"identity" : "servd",
"map" : "./NamePurpose"
}]
},
{
"id" : "HumanName.text",
"path" : "HumanName.text",
"short" : "Text representation of the full name",
"definition" : "Specifies the entire name as it should be displayed e.g. on an application UI. This may be provided instead of or as well as the specific parts.",
"comment" : "Can provide both a text representation and parts. Applications updating a name SHALL ensure that when both text and parts are present, no content is included in the text that isn't found in a part.",
"requirements" : "A renderable, unencoded form.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "HumanName.text",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "implied by XPN.11"
},
{
"identity" : "rim",
"map" : "./formatted"
}]
},
{
"id" : "HumanName.family",
"path" : "HumanName.family",
"short" : "Family name (often called 'Surname')",
"definition" : "The part of a name that links to the genealogy. In some cultures (e.g. Eritrea) the family name of a son is the first name of his father.",
"comment" : "Family Name may be decomposed into specific parts using extensions (de, nl, es related cultures).",
"alias" : ["surname"],
"min" : 0,
"max" : "1",
"base" : {
"path" : "HumanName.family",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "XPN.1/FN.1"
},
{
"identity" : "rim",
"map" : "./part[partType = FAM]"
},
{
"identity" : "servd",
"map" : "./FamilyName"
}]
},
{
"id" : "HumanName.given",
"path" : "HumanName.given",
"short" : "Given names (not always 'first'). Includes middle names",
"definition" : "Given name.",
"comment" : "If only initials are recorded, they may be used in place of the full name parts. Initials may be separated into multiple given names but often aren't due to paractical limitations. This element is not called \"first name\" since given names do not always come first.",
"alias" : ["first name",
"middle name"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "HumanName.given",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "string"
}],
"orderMeaning" : "Given Names appear in the correct order for presenting the name",
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "XPN.2 + XPN.3"
},
{
"identity" : "rim",
"map" : "./part[partType = GIV]"
},
{
"identity" : "servd",
"map" : "./GivenNames"
}]
},
{
"id" : "HumanName.prefix",
"path" : "HumanName.prefix",
"short" : "Parts that come before the name",
"definition" : "Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the start of the name.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "HumanName.prefix",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "string"
}],
"orderMeaning" : "Prefixes appear in the correct order for presenting the name",
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "XPN.5"
},
{
"identity" : "rim",
"map" : "./part[partType = PFX]"
},
{
"identity" : "servd",
"map" : "./TitleCode"
}]
},
{
"id" : "HumanName.suffix",
"path" : "HumanName.suffix",
"short" : "Parts that come after the name",
"definition" : "Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the end of the name.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "HumanName.suffix",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "string"
}],
"orderMeaning" : "Suffixes appear in the correct order for presenting the name",
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "XPN/4"
},
{
"identity" : "rim",
"map" : "./part[partType = SFX]"
}]
},
{
"id" : "HumanName.period",
"path" : "HumanName.period",
"short" : "Time period when name was/is in use",
"definition" : "Indicates the period of time when this name was valid for the named person.",
"requirements" : "Allows names to be placed in historical context.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "HumanName.period",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "Period"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "XPN.13 + XPN.14"
},
{
"identity" : "rim",
"map" : "./usablePeriod[type=\"IVL\"]"
},
{
"identity" : "servd",
"map" : "./StartDate and ./EndDate"
}]
}]
},
"differential" : {
"element" : [{
"id" : "HumanName",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"path" : "HumanName",
"short" : "Name of a human - parts and usage",
"definition" : "A human's name with the ability to identify parts and usage.",
"comment" : "Names may be changed, or repudiated, or people may have different names in different contexts. Names may be divided into parts of different type that have variable significance depending on context, though the division into parts does not always matter. With personal names, the different parts might or might not be imbued with some implicit meaning; various cultures associate different importance with the name parts and the degree to which systems must care about name parts around the world varies widely.",
"min" : 0,
"max" : "*",
"mapping" : [{
"identity" : "v2",
"map" : "XPN"
},
{
"identity" : "rim",
"map" : "EN (actually, PN)"
},
{
"identity" : "servd",
"map" : "ProviderName"
}]
},
{
"id" : "HumanName.use",
"path" : "HumanName.use",
"short" : "usual | official | temp | nickname | anonymous | old | maiden",
"definition" : "Identifies the purpose for this name.",
"comment" : "Applications can assume that a name is current unless it explicitly says that it is temporary or old.",
"requirements" : "Allows the appropriate name for a particular context of use to be selected from among a set of names.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "code"
}],
"isModifier" : true,
"isModifierReason" : "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old name etc.for a current/permanent one",
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "NameUse"
}],
"strength" : "required",
"description" : "The use of a human name.",
"valueSet" : "http://hl7.org/fhir/ValueSet/name-use|4.0.0"
},
"mapping" : [{
"identity" : "v2",
"map" : "XPN.7, but often indicated by which field contains the name"
},
{
"identity" : "rim",
"map" : "unique(./use)"
},
{
"identity" : "servd",
"map" : "./NamePurpose"
}]
},
{
"id" : "HumanName.text",
"path" : "HumanName.text",
"short" : "Text representation of the full name",
"definition" : "Specifies the entire name as it should be displayed e.g. on an application UI. This may be provided instead of or as well as the specific parts.",
"comment" : "Can provide both a text representation and parts. Applications updating a name SHALL ensure that when both text and parts are present, no content is included in the text that isn't found in a part.",
"requirements" : "A renderable, unencoded form.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "string"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "implied by XPN.11"
},
{
"identity" : "rim",
"map" : "./formatted"
}]
},
{
"id" : "HumanName.family",
"path" : "HumanName.family",
"short" : "Family name (often called 'Surname')",
"definition" : "The part of a name that links to the genealogy. In some cultures (e.g. Eritrea) the family name of a son is the first name of his father.",
"comment" : "Family Name may be decomposed into specific parts using extensions (de, nl, es related cultures).",
"alias" : ["surname"],
"min" : 0,
"max" : "1",
"type" : [{
"code" : "string"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "XPN.1/FN.1"
},
{
"identity" : "rim",
"map" : "./part[partType = FAM]"
},
{
"identity" : "servd",
"map" : "./FamilyName"
}]
},
{
"id" : "HumanName.given",
"path" : "HumanName.given",
"short" : "Given names (not always 'first'). Includes middle names",
"definition" : "Given name.",
"comment" : "If only initials are recorded, they may be used in place of the full name parts. Initials may be separated into multiple given names but often aren't due to paractical limitations. This element is not called \"first name\" since given names do not always come first.",
"alias" : ["first name",
"middle name"],
"min" : 0,
"max" : "*",
"type" : [{
"code" : "string"
}],
"orderMeaning" : "Given Names appear in the correct order for presenting the name",
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "XPN.2 + XPN.3"
},
{
"identity" : "rim",
"map" : "./part[partType = GIV]"
},
{
"identity" : "servd",
"map" : "./GivenNames"
}]
},
{
"id" : "HumanName.prefix",
"path" : "HumanName.prefix",
"short" : "Parts that come before the name",
"definition" : "Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the start of the name.",
"min" : 0,
"max" : "*",
"type" : [{
"code" : "string"
}],
"orderMeaning" : "Prefixes appear in the correct order for presenting the name",
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "XPN.5"
},
{
"identity" : "rim",
"map" : "./part[partType = PFX]"
},
{
"identity" : "servd",
"map" : "./TitleCode"
}]
},
{
"id" : "HumanName.suffix",
"path" : "HumanName.suffix",
"short" : "Parts that come after the name",
"definition" : "Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the end of the name.",
"min" : 0,
"max" : "*",
"type" : [{
"code" : "string"
}],
"orderMeaning" : "Suffixes appear in the correct order for presenting the name",
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "XPN/4"
},
{
"identity" : "rim",
"map" : "./part[partType = SFX]"
}]
},
{
"id" : "HumanName.period",
"path" : "HumanName.period",
"short" : "Time period when name was/is in use",
"definition" : "Indicates the period of time when this name was valid for the named person.",
"requirements" : "Allows names to be placed in historical context.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "Period"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "XPN.13 + XPN.14"
},
{
"identity" : "rim",
"map" : "./usablePeriod[type=\"IVL\"]"
},
{
"identity" : "servd",
"map" : "./StartDate and ./EndDate"
}]
}]
}
}
},
{
"fullUrl" : "http://hl7.org/fhir/StructureDefinition/Identifier",
"resource" : {
"resourceType" : "StructureDefinition",
"id" : "Identifier",
"meta" : {
"lastUpdated" : "2018-12-27T22:37:54.724+11:00"
},
"text" : {
"status" : "generated",
"div" : "
"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/Identifier",
"version" : "4.0.0",
"name" : "Identifier",
"status" : "active",
"date" : "2018-12-27T22:37:54+11:00",
"publisher" : "HL7 FHIR Standard",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
}]
}],
"description" : "Base StructureDefinition for Identifier Type: An identifier - identifies some entity uniquely and unambiguously. Typically this is used for business identifiers.",
"purpose" : "Need to be able to identify things with confidence and be sure that the identification is not subject to misinterpretation.",
"fhirVersion" : "4.0.0",
"mapping" : [{
"identity" : "v2",
"uri" : "http://hl7.org/v2",
"name" : "HL7 v2 Mapping"
},
{
"identity" : "rim",
"uri" : "http://hl7.org/v3",
"name" : "RIM Mapping"
},
{
"identity" : "servd",
"uri" : "http://www.omg.org/spec/ServD/1.0/",
"name" : "ServD"
}],
"kind" : "complex-type",
"abstract" : false,
"type" : "Identifier",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Element",
"derivation" : "specialization",
"snapshot" : {
"element" : [{
"id" : "Identifier",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"path" : "Identifier",
"short" : "An identifier intended for computation",
"definition" : "An identifier - identifies some entity uniquely and unambiguously. Typically this is used for business identifiers.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "Identifier",
"min" : 0,
"max" : "*"
},
"condition" : ["ele-1"],
"constraint" : [{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() or (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "Element"
}],
"isModifier" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
},
{
"identity" : "v2",
"map" : "CX / EI (occasionally, more often EI maps to a resource id or a URL)"
},
{
"identity" : "rim",
"map" : "II - The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT]"
},
{
"identity" : "servd",
"map" : "Identifier"
}]
},
{
"id" : "Identifier.id",
"path" : "Identifier.id",
"representation" : ["xmlAttr"],
"short" : "Unique id for inter-element referencing",
"definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "Identifier.extension",
"path" : "Identifier.extension",
"slicing" : {
"discriminator" : [{
"type" : "value",
"path" : "url"
}],
"description" : "Extensions are always sliced by (at least) url",
"rules" : "open"
},
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "Identifier.use",
"path" : "Identifier.use",
"short" : "usual | official | temp | secondary | old (If known)",
"definition" : "The purpose of this identifier.",
"comment" : "Applications can assume that an identifier is permanent unless it explicitly says that it is temporary.",
"requirements" : "Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Identifier.use",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "code"
}],
"isModifier" : true,
"isModifierReason" : "This is labeled as \"Is Modifier\" because applications should not mistake a temporary id for a permanent one.",
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "IdentifierUse"
}],
"strength" : "required",
"description" : "Identifies the purpose for this identifier, if known .",
"valueSet" : "http://hl7.org/fhir/ValueSet/identifier-use|4.0.0"
},
"mapping" : [{
"identity" : "v2",
"map" : "N/A"
},
{
"identity" : "rim",
"map" : "Role.code or implied by context"
}]
},
{
"id" : "Identifier.type",
"path" : "Identifier.type",
"short" : "Description of identifier",
"definition" : "A coded type for the identifier that can be used to determine which identifier to use for a specific purpose.",
"comment" : "This element deals only with general categories of identifiers. It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage. Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type.",
"requirements" : "Allows users to make use of identifiers when the identifier system is not known.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Identifier.type",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "CodeableConcept"
}],
"isModifier" : false,
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "IdentifierType"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
"valueBoolean" : true
}],
"strength" : "extensible",
"description" : "A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.",
"valueSet" : "http://hl7.org/fhir/ValueSet/identifier-type"
},
"mapping" : [{
"identity" : "v2",
"map" : "CX.5"
},
{
"identity" : "rim",
"map" : "Role.code or implied by context"
}]
},
{
"id" : "Identifier.system",
"path" : "Identifier.system",
"short" : "The namespace for the identifier value",
"definition" : "Establishes the namespace for the value - that is, a URL that describes a set values that are unique.",
"comment" : "Identifier.system is always case sensitive.",
"requirements" : "There are many sets of identifiers. To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Identifier.system",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "uri"
}],
"example" : [{
"label" : "General",
"valueUri" : "http://www.acme.com/identifiers/patient"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "CX.4 / EI-2-4"
},
{
"identity" : "rim",
"map" : "II.root or Role.id.root"
},
{
"identity" : "servd",
"map" : "./IdentifierType"
}]
},
{
"id" : "Identifier.value",
"path" : "Identifier.value",
"short" : "The value that is unique",
"definition" : "The portion of the identifier typically relevant to the user and which is unique within the context of the system.",
"comment" : "If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986. The value's primary purpose is computational mapping. As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.) A value formatted for human display can be conveyed using the [Rendered Value extension](extension-rendered-value.html). Identifier.value is to be treated as case sensitive unless knowledge of the Identifier.system allows the processer to be confident that non-case-sensitive processing is safe.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Identifier.value",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"example" : [{
"label" : "General",
"valueString" : "123456"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "CX.1 / EI.1"
},
{
"identity" : "rim",
"map" : "II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)"
},
{
"identity" : "servd",
"map" : "./Value"
}]
},
{
"id" : "Identifier.period",
"path" : "Identifier.period",
"short" : "Time period when id is/was valid for use",
"definition" : "Time period during which identifier is/was valid for use.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Identifier.period",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "Period"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "CX.7 + CX.8"
},
{
"identity" : "rim",
"map" : "Role.effectiveTime or implied by context"
},
{
"identity" : "servd",
"map" : "./StartDate and ./EndDate"
}]
},
{
"id" : "Identifier.assigner",
"path" : "Identifier.assigner",
"short" : "Organization that issued id (may be just text)",
"definition" : "Organization that issued/manages the identifier.",
"comment" : "The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Identifier.assigner",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "Reference",
"targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Organization"]
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "CX.4 / (CX.4,CX.9,CX.10)"
},
{
"identity" : "rim",
"map" : "II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper"
},
{
"identity" : "servd",
"map" : "./IdentifierIssuingAuthority"
}]
}]
},
"differential" : {
"element" : [{
"id" : "Identifier",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"path" : "Identifier",
"short" : "An identifier intended for computation",
"definition" : "An identifier - identifies some entity uniquely and unambiguously. Typically this is used for business identifiers.",
"min" : 0,
"max" : "*",
"mapping" : [{
"identity" : "v2",
"map" : "CX / EI (occasionally, more often EI maps to a resource id or a URL)"
},
{
"identity" : "rim",
"map" : "II - The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT]"
},
{
"identity" : "servd",
"map" : "Identifier"
}]
},
{
"id" : "Identifier.use",
"path" : "Identifier.use",
"short" : "usual | official | temp | secondary | old (If known)",
"definition" : "The purpose of this identifier.",
"comment" : "Applications can assume that an identifier is permanent unless it explicitly says that it is temporary.",
"requirements" : "Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "code"
}],
"isModifier" : true,
"isModifierReason" : "This is labeled as \"Is Modifier\" because applications should not mistake a temporary id for a permanent one.",
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "IdentifierUse"
}],
"strength" : "required",
"description" : "Identifies the purpose for this identifier, if known .",
"valueSet" : "http://hl7.org/fhir/ValueSet/identifier-use|4.0.0"
},
"mapping" : [{
"identity" : "v2",
"map" : "N/A"
},
{
"identity" : "rim",
"map" : "Role.code or implied by context"
}]
},
{
"id" : "Identifier.type",
"path" : "Identifier.type",
"short" : "Description of identifier",
"definition" : "A coded type for the identifier that can be used to determine which identifier to use for a specific purpose.",
"comment" : "This element deals only with general categories of identifiers. It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage. Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type.",
"requirements" : "Allows users to make use of identifiers when the identifier system is not known.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "CodeableConcept"
}],
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "IdentifierType"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
"valueBoolean" : true
}],
"strength" : "extensible",
"description" : "A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.",
"valueSet" : "http://hl7.org/fhir/ValueSet/identifier-type"
},
"mapping" : [{
"identity" : "v2",
"map" : "CX.5"
},
{
"identity" : "rim",
"map" : "Role.code or implied by context"
}]
},
{
"id" : "Identifier.system",
"path" : "Identifier.system",
"short" : "The namespace for the identifier value",
"definition" : "Establishes the namespace for the value - that is, a URL that describes a set values that are unique.",
"comment" : "Identifier.system is always case sensitive.",
"requirements" : "There are many sets of identifiers. To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "uri"
}],
"example" : [{
"label" : "General",
"valueUri" : "http://www.acme.com/identifiers/patient"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "CX.4 / EI-2-4"
},
{
"identity" : "rim",
"map" : "II.root or Role.id.root"
},
{
"identity" : "servd",
"map" : "./IdentifierType"
}]
},
{
"id" : "Identifier.value",
"path" : "Identifier.value",
"short" : "The value that is unique",
"definition" : "The portion of the identifier typically relevant to the user and which is unique within the context of the system.",
"comment" : "If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986. The value's primary purpose is computational mapping. As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.) A value formatted for human display can be conveyed using the [Rendered Value extension](extension-rendered-value.html). Identifier.value is to be treated as case sensitive unless knowledge of the Identifier.system allows the processer to be confident that non-case-sensitive processing is safe.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "string"
}],
"example" : [{
"label" : "General",
"valueString" : "123456"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "CX.1 / EI.1"
},
{
"identity" : "rim",
"map" : "II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)"
},
{
"identity" : "servd",
"map" : "./Value"
}]
},
{
"id" : "Identifier.period",
"path" : "Identifier.period",
"short" : "Time period when id is/was valid for use",
"definition" : "Time period during which identifier is/was valid for use.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "Period"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "CX.7 + CX.8"
},
{
"identity" : "rim",
"map" : "Role.effectiveTime or implied by context"
},
{
"identity" : "servd",
"map" : "./StartDate and ./EndDate"
}]
},
{
"id" : "Identifier.assigner",
"path" : "Identifier.assigner",
"short" : "Organization that issued id (may be just text)",
"definition" : "Organization that issued/manages the identifier.",
"comment" : "The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "Reference",
"targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Organization"]
}],
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "CX.4 / (CX.4,CX.9,CX.10)"
},
{
"identity" : "rim",
"map" : "II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper"
},
{
"identity" : "servd",
"map" : "./IdentifierIssuingAuthority"
}]
}]
}
}
},
{
"fullUrl" : "http://hl7.org/fhir/StructureDefinition/MarketingStatus",
"resource" : {
"resourceType" : "StructureDefinition",
"id" : "MarketingStatus",
"meta" : {
"lastUpdated" : "2018-12-27T22:37:54.724+11:00"
},
"text" : {
"status" : "generated",
"div" : "
The marketing status describes the date when a medicinal product is actually put on the market or the date as of which it is no longer available Elements defined in Ancestors: id, extension, modifierExtension
The country in which the marketing authorisation has been granted shall be specified It should be specified using the ISO 3166 ‑ 1 alpha-2 code elements
Where a Medicines Regulatory Agency has granted a marketing authorisation for which specific provisions within a jurisdiction apply, the jurisdiction can be specified using an appropriate controlled terminology The controlled term and the controlled term identifier shall be specified
The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain
The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain
"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "draft"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/MarketingStatus",
"version" : "4.0.0",
"name" : "MarketingStatus",
"status" : "draft",
"date" : "2018-12-27T22:37:54+11:00",
"publisher" : "HL7 FHIR Standard",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
}]
}],
"description" : "Base StructureDefinition for MarketingStatus Type: The marketing status describes the date when a medicinal product is actually put on the market or the date as of which it is no longer available.",
"fhirVersion" : "4.0.0",
"mapping" : [{
"identity" : "rim",
"uri" : "http://hl7.org/v3",
"name" : "RIM Mapping"
}],
"kind" : "complex-type",
"abstract" : false,
"type" : "MarketingStatus",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/BackboneElement",
"derivation" : "specialization",
"snapshot" : {
"element" : [{
"id" : "MarketingStatus",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "draft"
}],
"path" : "MarketingStatus",
"short" : "The marketing status describes the date when a medicinal product is actually put on the market or the date as of which it is no longer available",
"definition" : "The marketing status describes the date when a medicinal product is actually put on the market or the date as of which it is no longer available.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "MarketingStatus",
"min" : 0,
"max" : "*"
},
"isModifier" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "MarketingStatus.id",
"path" : "MarketingStatus.id",
"representation" : ["xmlAttr"],
"short" : "Unique id for inter-element referencing",
"definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "MarketingStatus.extension",
"path" : "MarketingStatus.extension",
"slicing" : {
"discriminator" : [{
"type" : "value",
"path" : "url"
}],
"description" : "Extensions are always sliced by (at least) url",
"rules" : "open"
},
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "MarketingStatus.modifierExtension",
"path" : "MarketingStatus.modifierExtension",
"short" : "Extensions that cannot be ignored even if unrecognized",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).",
"alias" : ["extensions",
"user content",
"modifiers"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "BackboneElement.modifierExtension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : true,
"isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A"
}]
},
{
"id" : "MarketingStatus.country",
"path" : "MarketingStatus.country",
"short" : "The country in which the marketing authorisation has been granted shall be specified It should be specified using the ISO 3166 ‑ 1 alpha-2 code elements",
"definition" : "The country in which the marketing authorisation has been granted shall be specified It should be specified using the ISO 3166 ‑ 1 alpha-2 code elements.",
"min" : 1,
"max" : "1",
"base" : {
"path" : "MarketingStatus.country",
"min" : 1,
"max" : "1"
},
"type" : [{
"code" : "CodeableConcept"
}],
"isModifier" : false,
"isSummary" : true
},
{
"id" : "MarketingStatus.jurisdiction",
"path" : "MarketingStatus.jurisdiction",
"short" : "Where a Medicines Regulatory Agency has granted a marketing authorisation for which specific provisions within a jurisdiction apply, the jurisdiction can be specified using an appropriate controlled terminology The controlled term and the controlled term identifier shall be specified",
"definition" : "Where a Medicines Regulatory Agency has granted a marketing authorisation for which specific provisions within a jurisdiction apply, the jurisdiction can be specified using an appropriate controlled terminology The controlled term and the controlled term identifier shall be specified.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "MarketingStatus.jurisdiction",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "CodeableConcept"
}],
"isModifier" : false,
"isSummary" : true
},
{
"id" : "MarketingStatus.status",
"path" : "MarketingStatus.status",
"short" : "This attribute provides information on the status of the marketing of the medicinal product See ISO/TS 20443 for more information and examples",
"definition" : "This attribute provides information on the status of the marketing of the medicinal product See ISO/TS 20443 for more information and examples.",
"min" : 1,
"max" : "1",
"base" : {
"path" : "MarketingStatus.status",
"min" : 1,
"max" : "1"
},
"type" : [{
"code" : "CodeableConcept"
}],
"isModifier" : false,
"isSummary" : true
},
{
"id" : "MarketingStatus.dateRange",
"path" : "MarketingStatus.dateRange",
"short" : "The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain",
"definition" : "The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain.",
"min" : 1,
"max" : "1",
"base" : {
"path" : "MarketingStatus.dateRange",
"min" : 1,
"max" : "1"
},
"type" : [{
"code" : "Period"
}],
"isModifier" : false,
"isSummary" : true
},
{
"id" : "MarketingStatus.restoreDate",
"path" : "MarketingStatus.restoreDate",
"short" : "The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain",
"definition" : "The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "MarketingStatus.restoreDate",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "dateTime"
}],
"isModifier" : false,
"isSummary" : true
}]
},
"differential" : {
"element" : [{
"id" : "MarketingStatus",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "draft"
}],
"path" : "MarketingStatus",
"short" : "The marketing status describes the date when a medicinal product is actually put on the market or the date as of which it is no longer available",
"definition" : "The marketing status describes the date when a medicinal product is actually put on the market or the date as of which it is no longer available.",
"min" : 0,
"max" : "*"
},
{
"id" : "MarketingStatus.country",
"path" : "MarketingStatus.country",
"short" : "The country in which the marketing authorisation has been granted shall be specified It should be specified using the ISO 3166 ‑ 1 alpha-2 code elements",
"definition" : "The country in which the marketing authorisation has been granted shall be specified It should be specified using the ISO 3166 ‑ 1 alpha-2 code elements.",
"min" : 1,
"max" : "1",
"type" : [{
"code" : "CodeableConcept"
}],
"isSummary" : true
},
{
"id" : "MarketingStatus.jurisdiction",
"path" : "MarketingStatus.jurisdiction",
"short" : "Where a Medicines Regulatory Agency has granted a marketing authorisation for which specific provisions within a jurisdiction apply, the jurisdiction can be specified using an appropriate controlled terminology The controlled term and the controlled term identifier shall be specified",
"definition" : "Where a Medicines Regulatory Agency has granted a marketing authorisation for which specific provisions within a jurisdiction apply, the jurisdiction can be specified using an appropriate controlled terminology The controlled term and the controlled term identifier shall be specified.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "CodeableConcept"
}],
"isSummary" : true
},
{
"id" : "MarketingStatus.status",
"path" : "MarketingStatus.status",
"short" : "This attribute provides information on the status of the marketing of the medicinal product See ISO/TS 20443 for more information and examples",
"definition" : "This attribute provides information on the status of the marketing of the medicinal product See ISO/TS 20443 for more information and examples.",
"min" : 1,
"max" : "1",
"type" : [{
"code" : "CodeableConcept"
}],
"isSummary" : true
},
{
"id" : "MarketingStatus.dateRange",
"path" : "MarketingStatus.dateRange",
"short" : "The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain",
"definition" : "The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain.",
"min" : 1,
"max" : "1",
"type" : [{
"code" : "Period"
}],
"isSummary" : true
},
{
"id" : "MarketingStatus.restoreDate",
"path" : "MarketingStatus.restoreDate",
"short" : "The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain",
"definition" : "The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "dateTime"
}],
"isSummary" : true
}]
}
}
},
{
"fullUrl" : "http://hl7.org/fhir/StructureDefinition/Meta",
"resource" : {
"resourceType" : "StructureDefinition",
"id" : "Meta",
"meta" : {
"lastUpdated" : "2018-12-27T22:37:54.724+11:00"
},
"text" : {
"status" : "generated",
"div" : "
"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/Meta",
"version" : "4.0.0",
"name" : "Meta",
"status" : "active",
"date" : "2018-12-27T22:37:54+11:00",
"publisher" : "HL7 FHIR Standard",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
}]
}],
"description" : "Base StructureDefinition for Meta Type: The metadata about a resource. This is content in the resource that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.",
"fhirVersion" : "4.0.0",
"mapping" : [{
"identity" : "rim",
"uri" : "http://hl7.org/v3",
"name" : "RIM Mapping"
}],
"kind" : "complex-type",
"abstract" : false,
"type" : "Meta",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Element",
"derivation" : "specialization",
"snapshot" : {
"element" : [{
"id" : "Meta",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"path" : "Meta",
"short" : "Metadata about a resource",
"definition" : "The metadata about a resource. This is content in the resource that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "Meta",
"min" : 0,
"max" : "*"
},
"condition" : ["ele-1"],
"constraint" : [{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() or (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "Element"
}],
"isModifier" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
},
{
"identity" : "rim",
"map" : "N/A"
}]
},
{
"id" : "Meta.id",
"path" : "Meta.id",
"representation" : ["xmlAttr"],
"short" : "Unique id for inter-element referencing",
"definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "Meta.extension",
"path" : "Meta.extension",
"slicing" : {
"discriminator" : [{
"type" : "value",
"path" : "url"
}],
"description" : "Extensions are always sliced by (at least) url",
"rules" : "open"
},
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "Meta.versionId",
"path" : "Meta.versionId",
"short" : "Version specific identifier",
"definition" : "The version specific identifier, as it appears in the version portion of the URL. This value changes when the resource is created, updated, or deleted.",
"comment" : "The server assigns this value, and ignores what the client specifies, except in the case that the server is imposing version integrity on updates/deletes.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Meta.versionId",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "id"
}],
"isModifier" : false,
"isSummary" : true
},
{
"id" : "Meta.lastUpdated",
"path" : "Meta.lastUpdated",
"short" : "When the resource version last changed",
"definition" : "When the resource last changed - e.g. when the version changed.",
"comment" : "This value is always populated except when the resource is first being created. The server / resource manager sets this value; what a client provides is irrelevant. This is equivalent to the HTTP Last-Modified and SHOULD have the same value on a [read](http.html#read) interaction.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Meta.lastUpdated",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "instant"
}],
"isModifier" : false,
"isSummary" : true
},
{
"id" : "Meta.source",
"path" : "Meta.source",
"short" : "Identifies where the resource comes from",
"definition" : "A uri that identifies the source system of the resource. This provides a minimal amount of [Provenance](provenance.html#) information that can be used to track or differentiate the source of information in the resource. The source may identify another FHIR server, document, message, database, etc.",
"comment" : "In the provenance resource, this corresponds to Provenance.entity.what[x]. The exact use of the source (and the implied Provenance.entity.role) is left to implementer discretion. Only one nominated source is allowed; for additional provenance details, a full Provenance resource should be used. \n\nThis element can be used to indicate where the current master source of a resource that has a canonical URL if the resource is no longer hosted at the canonical URL.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Meta.source",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "uri"
}],
"isModifier" : false,
"isSummary" : true
},
{
"id" : "Meta.profile",
"path" : "Meta.profile",
"short" : "Profiles this resource claims to conform to",
"definition" : "A list of profiles (references to [StructureDefinition](structuredefinition.html#) resources) that this resource claims to conform to. The URL is a reference to [StructureDefinition.url](structuredefinition-definitions.html#StructureDefinition.url).",
"comment" : "It is up to the server and/or other infrastructure of policy to determine whether/how these claims are verified and/or updated over time. The list of profile URLs is a set.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "Meta.profile",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "canonical",
"targetProfile" : ["http://hl7.org/fhir/StructureDefinition/StructureDefinition"]
}],
"isModifier" : false,
"isSummary" : true
},
{
"id" : "Meta.security",
"path" : "Meta.security",
"short" : "Security Labels applied to this resource",
"definition" : "Security labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure.",
"comment" : "The security labels can be updated without changing the stated version of the resource. The list of security labels is a set. Uniqueness is based the system/code, and version and display are ignored.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "Meta.security",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Coding"
}],
"isModifier" : false,
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "SecurityLabels"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
"valueBoolean" : true
}],
"strength" : "extensible",
"description" : "Security Labels from the Healthcare Privacy and Security Classification System.",
"valueSet" : "http://hl7.org/fhir/ValueSet/security-labels"
}
},
{
"id" : "Meta.tag",
"path" : "Meta.tag",
"short" : "Tags applied to this resource",
"definition" : "Tags applied to this resource. Tags are intended to be used to identify and relate resources to process and workflow, and applications are not required to consider the tags when interpreting the meaning of a resource.",
"comment" : "The tags can be updated without changing the stated version of the resource. The list of tags is a set. Uniqueness is based the system/code, and version and display are ignored.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "Meta.tag",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Coding"
}],
"isModifier" : false,
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "Tags"
}],
"strength" : "example",
"description" : "Codes that represent various types of tags, commonly workflow-related; e.g. \"Needs review by Dr. Jones\".",
"valueSet" : "http://hl7.org/fhir/ValueSet/common-tags"
}
}]
},
"differential" : {
"element" : [{
"id" : "Meta",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"path" : "Meta",
"short" : "Metadata about a resource",
"definition" : "The metadata about a resource. This is content in the resource that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.",
"min" : 0,
"max" : "*",
"mapping" : [{
"identity" : "rim",
"map" : "N/A"
}]
},
{
"id" : "Meta.versionId",
"path" : "Meta.versionId",
"short" : "Version specific identifier",
"definition" : "The version specific identifier, as it appears in the version portion of the URL. This value changes when the resource is created, updated, or deleted.",
"comment" : "The server assigns this value, and ignores what the client specifies, except in the case that the server is imposing version integrity on updates/deletes.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "id"
}],
"isSummary" : true
},
{
"id" : "Meta.lastUpdated",
"path" : "Meta.lastUpdated",
"short" : "When the resource version last changed",
"definition" : "When the resource last changed - e.g. when the version changed.",
"comment" : "This value is always populated except when the resource is first being created. The server / resource manager sets this value; what a client provides is irrelevant. This is equivalent to the HTTP Last-Modified and SHOULD have the same value on a [read](http.html#read) interaction.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "instant"
}],
"isSummary" : true
},
{
"id" : "Meta.source",
"path" : "Meta.source",
"short" : "Identifies where the resource comes from",
"definition" : "A uri that identifies the source system of the resource. This provides a minimal amount of [Provenance](provenance.html#) information that can be used to track or differentiate the source of information in the resource. The source may identify another FHIR server, document, message, database, etc.",
"comment" : "In the provenance resource, this corresponds to Provenance.entity.what[x]. The exact use of the source (and the implied Provenance.entity.role) is left to implementer discretion. Only one nominated source is allowed; for additional provenance details, a full Provenance resource should be used. \n\nThis element can be used to indicate where the current master source of a resource that has a canonical URL if the resource is no longer hosted at the canonical URL.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "uri"
}],
"isSummary" : true
},
{
"id" : "Meta.profile",
"path" : "Meta.profile",
"short" : "Profiles this resource claims to conform to",
"definition" : "A list of profiles (references to [StructureDefinition](structuredefinition.html#) resources) that this resource claims to conform to. The URL is a reference to [StructureDefinition.url](structuredefinition-definitions.html#StructureDefinition.url).",
"comment" : "It is up to the server and/or other infrastructure of policy to determine whether/how these claims are verified and/or updated over time. The list of profile URLs is a set.",
"min" : 0,
"max" : "*",
"type" : [{
"code" : "canonical",
"targetProfile" : ["http://hl7.org/fhir/StructureDefinition/StructureDefinition"]
}],
"isSummary" : true
},
{
"id" : "Meta.security",
"path" : "Meta.security",
"short" : "Security Labels applied to this resource",
"definition" : "Security labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure.",
"comment" : "The security labels can be updated without changing the stated version of the resource. The list of security labels is a set. Uniqueness is based the system/code, and version and display are ignored.",
"min" : 0,
"max" : "*",
"type" : [{
"code" : "Coding"
}],
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "SecurityLabels"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
"valueBoolean" : true
}],
"strength" : "extensible",
"description" : "Security Labels from the Healthcare Privacy and Security Classification System.",
"valueSet" : "http://hl7.org/fhir/ValueSet/security-labels"
}
},
{
"id" : "Meta.tag",
"path" : "Meta.tag",
"short" : "Tags applied to this resource",
"definition" : "Tags applied to this resource. Tags are intended to be used to identify and relate resources to process and workflow, and applications are not required to consider the tags when interpreting the meaning of a resource.",
"comment" : "The tags can be updated without changing the stated version of the resource. The list of tags is a set. Uniqueness is based the system/code, and version and display are ignored.",
"min" : 0,
"max" : "*",
"type" : [{
"code" : "Coding"
}],
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "Tags"
}],
"strength" : "example",
"description" : "Codes that represent various types of tags, commonly workflow-related; e.g. \"Needs review by Dr. Jones\".",
"valueSet" : "http://hl7.org/fhir/ValueSet/common-tags"
}
}]
}
}
},
{
"fullUrl" : "http://hl7.org/fhir/StructureDefinition/Money",
"resource" : {
"resourceType" : "StructureDefinition",
"id" : "Money",
"meta" : {
"lastUpdated" : "2018-12-27T22:37:54.724+11:00"
},
"text" : {
"status" : "generated",
"div" : "
Limited xhtml content + Rule: The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Rule: The narrative SHALL have some non-whitespace content
"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "trial-use"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/ParameterDefinition",
"version" : "4.0.0",
"name" : "ParameterDefinition",
"status" : "draft",
"date" : "2018-12-27T22:37:54+11:00",
"publisher" : "HL7 FHIR Standard",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
}]
}],
"description" : "Base StructureDefinition for ParameterDefinition Type: The parameters to the module. This collection specifies both the input and output parameters. Input parameters are provided by the caller as part of the $evaluate operation. Output parameters are included in the GuidanceResponse.",
"fhirVersion" : "4.0.0",
"mapping" : [{
"identity" : "rim",
"uri" : "http://hl7.org/v3",
"name" : "RIM Mapping"
}],
"kind" : "complex-type",
"abstract" : false,
"type" : "ParameterDefinition",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Element",
"derivation" : "specialization",
"snapshot" : {
"element" : [{
"id" : "ParameterDefinition",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "trial-use"
}],
"path" : "ParameterDefinition",
"short" : "Definition of a parameter to a module",
"definition" : "The parameters to the module. This collection specifies both the input and output parameters. Input parameters are provided by the caller as part of the $evaluate operation. Output parameters are included in the GuidanceResponse.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "ParameterDefinition",
"min" : 0,
"max" : "*"
},
"condition" : ["ele-1"],
"constraint" : [{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() or (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "Element"
}],
"isModifier" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "ParameterDefinition.id",
"path" : "ParameterDefinition.id",
"representation" : ["xmlAttr"],
"short" : "Unique id for inter-element referencing",
"definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "ParameterDefinition.extension",
"path" : "ParameterDefinition.extension",
"slicing" : {
"discriminator" : [{
"type" : "value",
"path" : "url"
}],
"description" : "Extensions are always sliced by (at least) url",
"rules" : "open"
},
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "ParameterDefinition.name",
"path" : "ParameterDefinition.name",
"short" : "Name used to access the parameter value",
"definition" : "The name of the parameter used to allow access to the value of the parameter in evaluation contexts.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "ParameterDefinition.name",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "code"
}],
"isModifier" : false,
"isSummary" : true
},
{
"id" : "ParameterDefinition.use",
"path" : "ParameterDefinition.use",
"short" : "in | out",
"definition" : "Whether the parameter is input or output for the module.",
"min" : 1,
"max" : "1",
"base" : {
"path" : "ParameterDefinition.use",
"min" : 1,
"max" : "1"
},
"type" : [{
"code" : "code"
}],
"isModifier" : false,
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "ParameterUse"
}],
"strength" : "required",
"description" : "Whether the parameter is input or output.",
"valueSet" : "http://hl7.org/fhir/ValueSet/operation-parameter-use|4.0.0"
}
},
{
"id" : "ParameterDefinition.min",
"path" : "ParameterDefinition.min",
"short" : "Minimum cardinality",
"definition" : "The minimum number of times this parameter SHALL appear in the request or response.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "ParameterDefinition.min",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "integer"
}],
"isModifier" : false,
"isSummary" : true
},
{
"id" : "ParameterDefinition.max",
"path" : "ParameterDefinition.max",
"short" : "Maximum cardinality (a number of *)",
"definition" : "The maximum number of times this element is permitted to appear in the request or response.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "ParameterDefinition.max",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : true
},
{
"id" : "ParameterDefinition.documentation",
"path" : "ParameterDefinition.documentation",
"short" : "A brief description of the parameter",
"definition" : "A brief discussion of what the parameter is for and how it is used by the module.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "ParameterDefinition.documentation",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : true
},
{
"id" : "ParameterDefinition.type",
"path" : "ParameterDefinition.type",
"short" : "What type of value",
"definition" : "The type of the parameter.",
"min" : 1,
"max" : "1",
"base" : {
"path" : "ParameterDefinition.type",
"min" : 1,
"max" : "1"
},
"type" : [{
"code" : "code"
}],
"isModifier" : false,
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "FHIRAllTypes"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
"valueBoolean" : true
}],
"strength" : "required",
"description" : "A list of all the concrete types defined in this version of the FHIR specification - Abstract Types, Data Types and Resource Types.",
"valueSet" : "http://hl7.org/fhir/ValueSet/all-types|4.0.0"
}
},
{
"id" : "ParameterDefinition.profile",
"path" : "ParameterDefinition.profile",
"short" : "What profile the value is expected to be",
"definition" : "If specified, this indicates a profile that the input data must conform to, or that the output data will conform to.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "ParameterDefinition.profile",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "canonical",
"targetProfile" : ["http://hl7.org/fhir/StructureDefinition/StructureDefinition"]
}],
"isModifier" : false,
"isSummary" : true
}]
},
"differential" : {
"element" : [{
"id" : "ParameterDefinition",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "trial-use"
}],
"path" : "ParameterDefinition",
"short" : "Definition of a parameter to a module",
"definition" : "The parameters to the module. This collection specifies both the input and output parameters. Input parameters are provided by the caller as part of the $evaluate operation. Output parameters are included in the GuidanceResponse.",
"min" : 0,
"max" : "*"
},
{
"id" : "ParameterDefinition.name",
"path" : "ParameterDefinition.name",
"short" : "Name used to access the parameter value",
"definition" : "The name of the parameter used to allow access to the value of the parameter in evaluation contexts.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "code"
}],
"isSummary" : true
},
{
"id" : "ParameterDefinition.use",
"path" : "ParameterDefinition.use",
"short" : "in | out",
"definition" : "Whether the parameter is input or output for the module.",
"min" : 1,
"max" : "1",
"type" : [{
"code" : "code"
}],
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "ParameterUse"
}],
"strength" : "required",
"description" : "Whether the parameter is input or output.",
"valueSet" : "http://hl7.org/fhir/ValueSet/operation-parameter-use|4.0.0"
}
},
{
"id" : "ParameterDefinition.min",
"path" : "ParameterDefinition.min",
"short" : "Minimum cardinality",
"definition" : "The minimum number of times this parameter SHALL appear in the request or response.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "integer"
}],
"isSummary" : true
},
{
"id" : "ParameterDefinition.max",
"path" : "ParameterDefinition.max",
"short" : "Maximum cardinality (a number of *)",
"definition" : "The maximum number of times this element is permitted to appear in the request or response.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "string"
}],
"isSummary" : true
},
{
"id" : "ParameterDefinition.documentation",
"path" : "ParameterDefinition.documentation",
"short" : "A brief description of the parameter",
"definition" : "A brief discussion of what the parameter is for and how it is used by the module.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "string"
}],
"isSummary" : true
},
{
"id" : "ParameterDefinition.type",
"path" : "ParameterDefinition.type",
"short" : "What type of value",
"definition" : "The type of the parameter.",
"min" : 1,
"max" : "1",
"type" : [{
"code" : "code"
}],
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "FHIRAllTypes"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
"valueBoolean" : true
}],
"strength" : "required",
"description" : "A list of all the concrete types defined in this version of the FHIR specification - Abstract Types, Data Types and Resource Types.",
"valueSet" : "http://hl7.org/fhir/ValueSet/all-types|4.0.0"
}
},
{
"id" : "ParameterDefinition.profile",
"path" : "ParameterDefinition.profile",
"short" : "What profile the value is expected to be",
"definition" : "If specified, this indicates a profile that the input data must conform to, or that the output data will conform to.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "canonical",
"targetProfile" : ["http://hl7.org/fhir/StructureDefinition/StructureDefinition"]
}],
"isSummary" : true
}]
}
}
},
{
"fullUrl" : "http://hl7.org/fhir/StructureDefinition/Period",
"resource" : {
"resourceType" : "StructureDefinition",
"id" : "Period",
"meta" : {
"lastUpdated" : "2018-12-27T22:37:54.724+11:00"
},
"text" : {
"status" : "generated",
"div" : "
"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/Period",
"version" : "4.0.0",
"name" : "Period",
"status" : "active",
"date" : "2018-12-27T22:37:54+11:00",
"publisher" : "HL7 FHIR Standard",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
}]
}],
"description" : "Base StructureDefinition for Period Type: A time period defined by a start and end date and optionally time.",
"fhirVersion" : "4.0.0",
"mapping" : [{
"identity" : "v2",
"uri" : "http://hl7.org/v2",
"name" : "HL7 v2 Mapping"
},
{
"identity" : "rim",
"uri" : "http://hl7.org/v3",
"name" : "RIM Mapping"
}],
"kind" : "complex-type",
"abstract" : false,
"type" : "Period",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Element",
"derivation" : "specialization",
"snapshot" : {
"element" : [{
"id" : "Period",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"path" : "Period",
"short" : "Time range defined by start and end date/time",
"definition" : "A time period defined by a start and end date and optionally time.",
"comment" : "A Period specifies a range of time; the context of use will specify whether the entire range applies (e.g. \"the patient was an inpatient of the hospital for this time range\") or one value from the range applies (e.g. \"give to the patient between these two times\").\n\nPeriod is not used for a duration (a measure of elapsed time). See [Duration](datatypes.html#Duration).",
"min" : 0,
"max" : "*",
"base" : {
"path" : "Period",
"min" : 0,
"max" : "*"
},
"condition" : ["ele-1"],
"constraint" : [{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() or (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "Element"
},
{
"key" : "per-1",
"severity" : "error",
"human" : "If present, start SHALL have a lower value than end",
"expression" : "start.hasValue().not() or end.hasValue().not() or (start <= end)",
"xpath" : "not(exists(f:start/@value)) or not(exists(f:end/@value)) or (xs:dateTime(f:start/@value) <= xs:dateTime(f:end/@value))"
}],
"isModifier" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
},
{
"identity" : "v2",
"map" : "DR"
},
{
"identity" : "rim",
"map" : "IVL[lowClosed=\"true\" and highClosed=\"true\"] or URG[lowClosed=\"true\" and highClosed=\"true\"]"
}]
},
{
"id" : "Period.id",
"path" : "Period.id",
"representation" : ["xmlAttr"],
"short" : "Unique id for inter-element referencing",
"definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "Period.extension",
"path" : "Period.extension",
"slicing" : {
"discriminator" : [{
"type" : "value",
"path" : "url"
}],
"description" : "Extensions are always sliced by (at least) url",
"rules" : "open"
},
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "Period.start",
"path" : "Period.start",
"short" : "Starting time with inclusive boundary",
"definition" : "The start of the period. The boundary is inclusive.",
"comment" : "If the low element is missing, the meaning is that the low boundary is not known.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Period.start",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "dateTime"
}],
"condition" : ["per-1"],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "DR.1"
},
{
"identity" : "rim",
"map" : "./low"
}]
},
{
"id" : "Period.end",
"path" : "Period.end",
"short" : "End time with inclusive boundary, if not ongoing",
"definition" : "The end of the period. If the end of the period is missing, it means no end was known or planned at the time the instance was created. The start may be in the past, and the end date in the future, which means that period is expected/planned to end at that time.",
"comment" : "The high value includes any matching date/time. i.e. 2012-02-03T10:00:00 is in a period that has an end value of 2012-02-03.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Period.end",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "dateTime"
}],
"meaningWhenMissing" : "If the end of the period is missing, it means that the period is ongoing",
"condition" : ["per-1"],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "DR.2"
},
{
"identity" : "rim",
"map" : "./high"
}]
}]
},
"differential" : {
"element" : [{
"id" : "Period",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"path" : "Period",
"short" : "Time range defined by start and end date/time",
"definition" : "A time period defined by a start and end date and optionally time.",
"comment" : "A Period specifies a range of time; the context of use will specify whether the entire range applies (e.g. \"the patient was an inpatient of the hospital for this time range\") or one value from the range applies (e.g. \"give to the patient between these two times\").\n\nPeriod is not used for a duration (a measure of elapsed time). See [Duration](datatypes.html#Duration).",
"min" : 0,
"max" : "*",
"constraint" : [{
"key" : "per-1",
"severity" : "error",
"human" : "If present, start SHALL have a lower value than end",
"expression" : "start.hasValue().not() or end.hasValue().not() or (start <= end)",
"xpath" : "not(exists(f:start/@value)) or not(exists(f:end/@value)) or (xs:dateTime(f:start/@value) <= xs:dateTime(f:end/@value))"
}],
"mapping" : [{
"identity" : "v2",
"map" : "DR"
},
{
"identity" : "rim",
"map" : "IVL[lowClosed=\"true\" and highClosed=\"true\"] or URG[lowClosed=\"true\" and highClosed=\"true\"]"
}]
},
{
"id" : "Period.start",
"path" : "Period.start",
"short" : "Starting time with inclusive boundary",
"definition" : "The start of the period. The boundary is inclusive.",
"comment" : "If the low element is missing, the meaning is that the low boundary is not known.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "dateTime"
}],
"condition" : ["per-1"],
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "DR.1"
},
{
"identity" : "rim",
"map" : "./low"
}]
},
{
"id" : "Period.end",
"path" : "Period.end",
"short" : "End time with inclusive boundary, if not ongoing",
"definition" : "The end of the period. If the end of the period is missing, it means no end was known or planned at the time the instance was created. The start may be in the past, and the end date in the future, which means that period is expected/planned to end at that time.",
"comment" : "The high value includes any matching date/time. i.e. 2012-02-03T10:00:00 is in a period that has an end value of 2012-02-03.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "dateTime"
}],
"meaningWhenMissing" : "If the end of the period is missing, it means that the period is ongoing",
"condition" : ["per-1"],
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "DR.2"
},
{
"identity" : "rim",
"map" : "./high"
}]
}]
}
}
},
{
"fullUrl" : "http://hl7.org/fhir/StructureDefinition/Population",
"resource" : {
"resourceType" : "StructureDefinition",
"id" : "Population",
"meta" : {
"lastUpdated" : "2018-12-27T22:37:54.724+11:00"
},
"text" : {
"status" : "generated",
"div" : "
A definition of a set of people that apply to some clinically related context, for example people contraindicated for a certain medication Elements defined in Ancestors: id, extension, modifierExtension
"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "draft"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/Population",
"version" : "4.0.0",
"name" : "Population",
"status" : "draft",
"date" : "2018-12-27T22:37:54+11:00",
"publisher" : "HL7 FHIR Standard",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
}]
}],
"description" : "Base StructureDefinition for Population Type: A populatioof people with some set of grouping criteria.",
"fhirVersion" : "4.0.0",
"mapping" : [{
"identity" : "rim",
"uri" : "http://hl7.org/v3",
"name" : "RIM Mapping"
}],
"kind" : "complex-type",
"abstract" : false,
"type" : "Population",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/BackboneElement",
"derivation" : "specialization",
"snapshot" : {
"element" : [{
"id" : "Population",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "draft"
}],
"path" : "Population",
"short" : "A definition of a set of people that apply to some clinically related context, for example people contraindicated for a certain medication",
"definition" : "A populatioof people with some set of grouping criteria.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "Population",
"min" : 0,
"max" : "*"
},
"isModifier" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "Population.id",
"path" : "Population.id",
"representation" : ["xmlAttr"],
"short" : "Unique id for inter-element referencing",
"definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "Population.extension",
"path" : "Population.extension",
"slicing" : {
"discriminator" : [{
"type" : "value",
"path" : "url"
}],
"description" : "Extensions are always sliced by (at least) url",
"rules" : "open"
},
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "Population.modifierExtension",
"path" : "Population.modifierExtension",
"short" : "Extensions that cannot be ignored even if unrecognized",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).",
"alias" : ["extensions",
"user content",
"modifiers"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "BackboneElement.modifierExtension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : true,
"isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A"
}]
},
{
"id" : "Population.age[x]",
"path" : "Population.age[x]",
"short" : "The age of the specific population",
"definition" : "The age of the specific population.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Population.age[x]",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "Range"
},
{
"code" : "CodeableConcept"
}],
"isModifier" : false,
"isSummary" : true
},
{
"id" : "Population.gender",
"path" : "Population.gender",
"short" : "The gender of the specific population",
"definition" : "The gender of the specific population.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Population.gender",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "CodeableConcept"
}],
"isModifier" : false,
"isSummary" : true
},
{
"id" : "Population.race",
"path" : "Population.race",
"short" : "Race of the specific population",
"definition" : "Race of the specific population.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Population.race",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "CodeableConcept"
}],
"isModifier" : false,
"isSummary" : true
},
{
"id" : "Population.physiologicalCondition",
"path" : "Population.physiologicalCondition",
"short" : "The existing physiological conditions of the specific population to which this applies",
"definition" : "The existing physiological conditions of the specific population to which this applies.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Population.physiologicalCondition",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "CodeableConcept"
}],
"isModifier" : false,
"isSummary" : true
}]
},
"differential" : {
"element" : [{
"id" : "Population",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "draft"
}],
"path" : "Population",
"short" : "A definition of a set of people that apply to some clinically related context, for example people contraindicated for a certain medication",
"definition" : "A populatioof people with some set of grouping criteria.",
"min" : 0,
"max" : "*"
},
{
"id" : "Population.age[x]",
"path" : "Population.age[x]",
"short" : "The age of the specific population",
"definition" : "The age of the specific population.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "Range"
},
{
"code" : "CodeableConcept"
}],
"isSummary" : true
},
{
"id" : "Population.gender",
"path" : "Population.gender",
"short" : "The gender of the specific population",
"definition" : "The gender of the specific population.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "CodeableConcept"
}],
"isSummary" : true
},
{
"id" : "Population.race",
"path" : "Population.race",
"short" : "Race of the specific population",
"definition" : "Race of the specific population.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "CodeableConcept"
}],
"isSummary" : true
},
{
"id" : "Population.physiologicalCondition",
"path" : "Population.physiologicalCondition",
"short" : "The existing physiological conditions of the specific population to which this applies",
"definition" : "The existing physiological conditions of the specific population to which this applies.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "CodeableConcept"
}],
"isSummary" : true
}]
}
}
},
{
"fullUrl" : "http://hl7.org/fhir/StructureDefinition/ProdCharacteristic",
"resource" : {
"resourceType" : "StructureDefinition",
"id" : "ProdCharacteristic",
"meta" : {
"lastUpdated" : "2018-12-27T22:37:54.724+11:00"
},
"text" : {
"status" : "generated",
"div" : "
The marketing status describes the date when a medicinal product is actually put on the market or the date as of which it is no longer available Elements defined in Ancestors: id, extension, modifierExtension
Where applicable, the height can be specified using a numerical value and its unit of measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used
Where applicable, the width can be specified using a numerical value and its unit of measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used
Where applicable, the depth can be specified using a numerical value and its unit of measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used
Where applicable, the weight can be specified using a numerical value and its unit of measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used
Where applicable, the nominal volume can be specified using a numerical value and its unit of measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used
Where applicable, the external diameter can be specified using a numerical value and its unit of measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used
"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "draft"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/ProdCharacteristic",
"version" : "4.0.0",
"name" : "ProdCharacteristic",
"status" : "draft",
"date" : "2018-12-27T22:37:54+11:00",
"publisher" : "HL7 FHIR Standard",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
}]
}],
"description" : "Base StructureDefinition for ProdCharacteristic Type: The marketing status describes the date when a medicinal product is actually put on the market or the date as of which it is no longer available.",
"fhirVersion" : "4.0.0",
"mapping" : [{
"identity" : "rim",
"uri" : "http://hl7.org/v3",
"name" : "RIM Mapping"
}],
"kind" : "complex-type",
"abstract" : false,
"type" : "ProdCharacteristic",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/BackboneElement",
"derivation" : "specialization",
"snapshot" : {
"element" : [{
"id" : "ProdCharacteristic",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "draft"
}],
"path" : "ProdCharacteristic",
"short" : "The marketing status describes the date when a medicinal product is actually put on the market or the date as of which it is no longer available",
"definition" : "The marketing status describes the date when a medicinal product is actually put on the market or the date as of which it is no longer available.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "ProdCharacteristic",
"min" : 0,
"max" : "*"
},
"isModifier" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "ProdCharacteristic.id",
"path" : "ProdCharacteristic.id",
"representation" : ["xmlAttr"],
"short" : "Unique id for inter-element referencing",
"definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "ProdCharacteristic.extension",
"path" : "ProdCharacteristic.extension",
"slicing" : {
"discriminator" : [{
"type" : "value",
"path" : "url"
}],
"description" : "Extensions are always sliced by (at least) url",
"rules" : "open"
},
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "ProdCharacteristic.modifierExtension",
"path" : "ProdCharacteristic.modifierExtension",
"short" : "Extensions that cannot be ignored even if unrecognized",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).",
"alias" : ["extensions",
"user content",
"modifiers"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "BackboneElement.modifierExtension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : true,
"isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A"
}]
},
{
"id" : "ProdCharacteristic.height",
"path" : "ProdCharacteristic.height",
"short" : "Where applicable, the height can be specified using a numerical value and its unit of measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used",
"definition" : "Where applicable, the height can be specified using a numerical value and its unit of measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "ProdCharacteristic.height",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "Quantity"
}],
"isModifier" : false,
"isSummary" : true
},
{
"id" : "ProdCharacteristic.width",
"path" : "ProdCharacteristic.width",
"short" : "Where applicable, the width can be specified using a numerical value and its unit of measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used",
"definition" : "Where applicable, the width can be specified using a numerical value and its unit of measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "ProdCharacteristic.width",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "Quantity"
}],
"isModifier" : false,
"isSummary" : true
},
{
"id" : "ProdCharacteristic.depth",
"path" : "ProdCharacteristic.depth",
"short" : "Where applicable, the depth can be specified using a numerical value and its unit of measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used",
"definition" : "Where applicable, the depth can be specified using a numerical value and its unit of measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "ProdCharacteristic.depth",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "Quantity"
}],
"isModifier" : false,
"isSummary" : true
},
{
"id" : "ProdCharacteristic.weight",
"path" : "ProdCharacteristic.weight",
"short" : "Where applicable, the weight can be specified using a numerical value and its unit of measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used",
"definition" : "Where applicable, the weight can be specified using a numerical value and its unit of measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "ProdCharacteristic.weight",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "Quantity"
}],
"isModifier" : false,
"isSummary" : true
},
{
"id" : "ProdCharacteristic.nominalVolume",
"path" : "ProdCharacteristic.nominalVolume",
"short" : "Where applicable, the nominal volume can be specified using a numerical value and its unit of measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used",
"definition" : "Where applicable, the nominal volume can be specified using a numerical value and its unit of measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "ProdCharacteristic.nominalVolume",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "Quantity"
}],
"isModifier" : false,
"isSummary" : true
},
{
"id" : "ProdCharacteristic.externalDiameter",
"path" : "ProdCharacteristic.externalDiameter",
"short" : "Where applicable, the external diameter can be specified using a numerical value and its unit of measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used",
"definition" : "Where applicable, the external diameter can be specified using a numerical value and its unit of measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "ProdCharacteristic.externalDiameter",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "Quantity"
}],
"isModifier" : false,
"isSummary" : true
},
{
"id" : "ProdCharacteristic.shape",
"path" : "ProdCharacteristic.shape",
"short" : "Where applicable, the shape can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used",
"definition" : "Where applicable, the shape can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "ProdCharacteristic.shape",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : true
},
{
"id" : "ProdCharacteristic.color",
"path" : "ProdCharacteristic.color",
"short" : "Where applicable, the color can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used",
"definition" : "Where applicable, the color can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "ProdCharacteristic.color",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : true
},
{
"id" : "ProdCharacteristic.imprint",
"path" : "ProdCharacteristic.imprint",
"short" : "Where applicable, the imprint can be specified as text",
"definition" : "Where applicable, the imprint can be specified as text.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "ProdCharacteristic.imprint",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : true
},
{
"id" : "ProdCharacteristic.image",
"path" : "ProdCharacteristic.image",
"short" : "Where applicable, the image can be provided The format of the image attachment shall be specified by regional implementations",
"definition" : "Where applicable, the image can be provided The format of the image attachment shall be specified by regional implementations.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "ProdCharacteristic.image",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Attachment"
}],
"isModifier" : false,
"isSummary" : true
},
{
"id" : "ProdCharacteristic.scoring",
"path" : "ProdCharacteristic.scoring",
"short" : "Where applicable, the scoring can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used",
"definition" : "Where applicable, the scoring can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "ProdCharacteristic.scoring",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "CodeableConcept"
}],
"isModifier" : false,
"isSummary" : true
}]
},
"differential" : {
"element" : [{
"id" : "ProdCharacteristic",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "draft"
}],
"path" : "ProdCharacteristic",
"short" : "The marketing status describes the date when a medicinal product is actually put on the market or the date as of which it is no longer available",
"definition" : "The marketing status describes the date when a medicinal product is actually put on the market or the date as of which it is no longer available.",
"min" : 0,
"max" : "*"
},
{
"id" : "ProdCharacteristic.height",
"path" : "ProdCharacteristic.height",
"short" : "Where applicable, the height can be specified using a numerical value and its unit of measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used",
"definition" : "Where applicable, the height can be specified using a numerical value and its unit of measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "Quantity"
}],
"isSummary" : true
},
{
"id" : "ProdCharacteristic.width",
"path" : "ProdCharacteristic.width",
"short" : "Where applicable, the width can be specified using a numerical value and its unit of measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used",
"definition" : "Where applicable, the width can be specified using a numerical value and its unit of measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "Quantity"
}],
"isSummary" : true
},
{
"id" : "ProdCharacteristic.depth",
"path" : "ProdCharacteristic.depth",
"short" : "Where applicable, the depth can be specified using a numerical value and its unit of measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used",
"definition" : "Where applicable, the depth can be specified using a numerical value and its unit of measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "Quantity"
}],
"isSummary" : true
},
{
"id" : "ProdCharacteristic.weight",
"path" : "ProdCharacteristic.weight",
"short" : "Where applicable, the weight can be specified using a numerical value and its unit of measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used",
"definition" : "Where applicable, the weight can be specified using a numerical value and its unit of measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "Quantity"
}],
"isSummary" : true
},
{
"id" : "ProdCharacteristic.nominalVolume",
"path" : "ProdCharacteristic.nominalVolume",
"short" : "Where applicable, the nominal volume can be specified using a numerical value and its unit of measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used",
"definition" : "Where applicable, the nominal volume can be specified using a numerical value and its unit of measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "Quantity"
}],
"isSummary" : true
},
{
"id" : "ProdCharacteristic.externalDiameter",
"path" : "ProdCharacteristic.externalDiameter",
"short" : "Where applicable, the external diameter can be specified using a numerical value and its unit of measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used",
"definition" : "Where applicable, the external diameter can be specified using a numerical value and its unit of measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "Quantity"
}],
"isSummary" : true
},
{
"id" : "ProdCharacteristic.shape",
"path" : "ProdCharacteristic.shape",
"short" : "Where applicable, the shape can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used",
"definition" : "Where applicable, the shape can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "string"
}],
"isSummary" : true
},
{
"id" : "ProdCharacteristic.color",
"path" : "ProdCharacteristic.color",
"short" : "Where applicable, the color can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used",
"definition" : "Where applicable, the color can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used.",
"min" : 0,
"max" : "*",
"type" : [{
"code" : "string"
}],
"isSummary" : true
},
{
"id" : "ProdCharacteristic.imprint",
"path" : "ProdCharacteristic.imprint",
"short" : "Where applicable, the imprint can be specified as text",
"definition" : "Where applicable, the imprint can be specified as text.",
"min" : 0,
"max" : "*",
"type" : [{
"code" : "string"
}],
"isSummary" : true
},
{
"id" : "ProdCharacteristic.image",
"path" : "ProdCharacteristic.image",
"short" : "Where applicable, the image can be provided The format of the image attachment shall be specified by regional implementations",
"definition" : "Where applicable, the image can be provided The format of the image attachment shall be specified by regional implementations.",
"min" : 0,
"max" : "*",
"type" : [{
"code" : "Attachment"
}],
"isSummary" : true
},
{
"id" : "ProdCharacteristic.scoring",
"path" : "ProdCharacteristic.scoring",
"short" : "Where applicable, the scoring can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used",
"definition" : "Where applicable, the scoring can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "CodeableConcept"
}],
"isSummary" : true
}]
}
}
},
{
"fullUrl" : "http://hl7.org/fhir/StructureDefinition/ProductShelfLife",
"resource" : {
"resourceType" : "StructureDefinition",
"id" : "ProductShelfLife",
"meta" : {
"lastUpdated" : "2018-12-27T22:37:54.724+11:00"
},
"text" : {
"status" : "generated",
"div" : "
The shelf-life and storage information for a medicinal product item or container can be described using this class Elements defined in Ancestors: id, extension, modifierExtension
This describes the shelf life, taking into account various scenarios such as shelf life of the packaged Medicinal Product itself, shelf life after transformation where necessary and shelf life after the first opening of a bottle, etc. The shelf life type shall be specified using an appropriate controlled vocabulary The controlled term and the controlled term identifier shall be specified
The shelf life time period can be specified using a numerical value for the period of time and its unit of time measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used
Special precautions for storage, if any, can be specified using an appropriate controlled vocabulary The controlled term and the controlled term identifier shall be specified
"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "draft"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/ProductShelfLife",
"version" : "4.0.0",
"name" : "ProductShelfLife",
"status" : "draft",
"date" : "2018-12-27T22:37:54+11:00",
"publisher" : "HL7 FHIR Standard",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
}]
}],
"description" : "Base StructureDefinition for ProductShelfLife Type: The shelf-life and storage information for a medicinal product item or container can be described using this class.",
"fhirVersion" : "4.0.0",
"mapping" : [{
"identity" : "rim",
"uri" : "http://hl7.org/v3",
"name" : "RIM Mapping"
}],
"kind" : "complex-type",
"abstract" : false,
"type" : "ProductShelfLife",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/BackboneElement",
"derivation" : "specialization",
"snapshot" : {
"element" : [{
"id" : "ProductShelfLife",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "draft"
}],
"path" : "ProductShelfLife",
"short" : "The shelf-life and storage information for a medicinal product item or container can be described using this class",
"definition" : "The shelf-life and storage information for a medicinal product item or container can be described using this class.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "ProductShelfLife",
"min" : 0,
"max" : "*"
},
"isModifier" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "ProductShelfLife.id",
"path" : "ProductShelfLife.id",
"representation" : ["xmlAttr"],
"short" : "Unique id for inter-element referencing",
"definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "ProductShelfLife.extension",
"path" : "ProductShelfLife.extension",
"slicing" : {
"discriminator" : [{
"type" : "value",
"path" : "url"
}],
"description" : "Extensions are always sliced by (at least) url",
"rules" : "open"
},
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "ProductShelfLife.modifierExtension",
"path" : "ProductShelfLife.modifierExtension",
"short" : "Extensions that cannot be ignored even if unrecognized",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).",
"alias" : ["extensions",
"user content",
"modifiers"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "BackboneElement.modifierExtension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : true,
"isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A"
}]
},
{
"id" : "ProductShelfLife.identifier",
"path" : "ProductShelfLife.identifier",
"short" : "Unique identifier for the packaged Medicinal Product",
"definition" : "Unique identifier for the packaged Medicinal Product.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "ProductShelfLife.identifier",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "Identifier"
}],
"isModifier" : false,
"isSummary" : true
},
{
"id" : "ProductShelfLife.type",
"path" : "ProductShelfLife.type",
"short" : "This describes the shelf life, taking into account various scenarios such as shelf life of the packaged Medicinal Product itself, shelf life after transformation where necessary and shelf life after the first opening of a bottle, etc. The shelf life type shall be specified using an appropriate controlled vocabulary The controlled term and the controlled term identifier shall be specified",
"definition" : "This describes the shelf life, taking into account various scenarios such as shelf life of the packaged Medicinal Product itself, shelf life after transformation where necessary and shelf life after the first opening of a bottle, etc. The shelf life type shall be specified using an appropriate controlled vocabulary The controlled term and the controlled term identifier shall be specified.",
"min" : 1,
"max" : "1",
"base" : {
"path" : "ProductShelfLife.type",
"min" : 1,
"max" : "1"
},
"type" : [{
"code" : "CodeableConcept"
}],
"isModifier" : false,
"isSummary" : true
},
{
"id" : "ProductShelfLife.period",
"path" : "ProductShelfLife.period",
"short" : "The shelf life time period can be specified using a numerical value for the period of time and its unit of time measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used",
"definition" : "The shelf life time period can be specified using a numerical value for the period of time and its unit of time measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used.",
"min" : 1,
"max" : "1",
"base" : {
"path" : "ProductShelfLife.period",
"min" : 1,
"max" : "1"
},
"type" : [{
"code" : "Quantity"
}],
"isModifier" : false,
"isSummary" : true
},
{
"id" : "ProductShelfLife.specialPrecautionsForStorage",
"path" : "ProductShelfLife.specialPrecautionsForStorage",
"short" : "Special precautions for storage, if any, can be specified using an appropriate controlled vocabulary The controlled term and the controlled term identifier shall be specified",
"definition" : "Special precautions for storage, if any, can be specified using an appropriate controlled vocabulary The controlled term and the controlled term identifier shall be specified.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "ProductShelfLife.specialPrecautionsForStorage",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "CodeableConcept"
}],
"isModifier" : false,
"isSummary" : true
}]
},
"differential" : {
"element" : [{
"id" : "ProductShelfLife",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "draft"
}],
"path" : "ProductShelfLife",
"short" : "The shelf-life and storage information for a medicinal product item or container can be described using this class",
"definition" : "The shelf-life and storage information for a medicinal product item or container can be described using this class.",
"min" : 0,
"max" : "*"
},
{
"id" : "ProductShelfLife.identifier",
"path" : "ProductShelfLife.identifier",
"short" : "Unique identifier for the packaged Medicinal Product",
"definition" : "Unique identifier for the packaged Medicinal Product.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "Identifier"
}],
"isSummary" : true
},
{
"id" : "ProductShelfLife.type",
"path" : "ProductShelfLife.type",
"short" : "This describes the shelf life, taking into account various scenarios such as shelf life of the packaged Medicinal Product itself, shelf life after transformation where necessary and shelf life after the first opening of a bottle, etc. The shelf life type shall be specified using an appropriate controlled vocabulary The controlled term and the controlled term identifier shall be specified",
"definition" : "This describes the shelf life, taking into account various scenarios such as shelf life of the packaged Medicinal Product itself, shelf life after transformation where necessary and shelf life after the first opening of a bottle, etc. The shelf life type shall be specified using an appropriate controlled vocabulary The controlled term and the controlled term identifier shall be specified.",
"min" : 1,
"max" : "1",
"type" : [{
"code" : "CodeableConcept"
}],
"isSummary" : true
},
{
"id" : "ProductShelfLife.period",
"path" : "ProductShelfLife.period",
"short" : "The shelf life time period can be specified using a numerical value for the period of time and its unit of time measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used",
"definition" : "The shelf life time period can be specified using a numerical value for the period of time and its unit of time measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used.",
"min" : 1,
"max" : "1",
"type" : [{
"code" : "Quantity"
}],
"isSummary" : true
},
{
"id" : "ProductShelfLife.specialPrecautionsForStorage",
"path" : "ProductShelfLife.specialPrecautionsForStorage",
"short" : "Special precautions for storage, if any, can be specified using an appropriate controlled vocabulary The controlled term and the controlled term identifier shall be specified",
"definition" : "Special precautions for storage, if any, can be specified using an appropriate controlled vocabulary The controlled term and the controlled term identifier shall be specified.",
"min" : 0,
"max" : "*",
"type" : [{
"code" : "CodeableConcept"
}],
"isSummary" : true
}]
}
}
},
{
"fullUrl" : "http://hl7.org/fhir/StructureDefinition/Quantity",
"resource" : {
"resourceType" : "StructureDefinition",
"id" : "Quantity",
"meta" : {
"lastUpdated" : "2018-12-27T22:37:54.724+11:00"
},
"text" : {
"status" : "generated",
"div" : "
A measured or measurable amount + Rule: If a code for the unit is present, the system SHALL also be present Elements defined in Ancestors: id, extension
"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/Quantity",
"version" : "4.0.0",
"name" : "Quantity",
"status" : "active",
"date" : "2018-12-27T22:37:54+11:00",
"publisher" : "HL7 FHIR Standard",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
}]
}],
"description" : "Base StructureDefinition for Quantity Type: A measured amount (or an amount that can potentially be measured). Note that measured amounts include amounts that are not precisely quantified, including amounts involving arbitrary units and floating currencies.",
"purpose" : "Need to able to capture all sorts of measured values, even if the measured value are not precisely quantified. Values include exact measures such as 3.51g, customary units such as 3 tablets, and currencies such as $100.32USD.",
"fhirVersion" : "4.0.0",
"mapping" : [{
"identity" : "v2",
"uri" : "http://hl7.org/v2",
"name" : "HL7 v2 Mapping"
},
{
"identity" : "rim",
"uri" : "http://hl7.org/v3",
"name" : "RIM Mapping"
}],
"kind" : "complex-type",
"abstract" : false,
"type" : "Quantity",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Element",
"derivation" : "specialization",
"snapshot" : {
"element" : [{
"id" : "Quantity",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"path" : "Quantity",
"short" : "A measured or measurable amount",
"definition" : "A measured amount (or an amount that can potentially be measured). Note that measured amounts include amounts that are not precisely quantified, including amounts involving arbitrary units and floating currencies.",
"comment" : "The context of use may frequently define what kind of quantity this is and therefore what kind of units can be used. The context of use may also restrict the values for the comparator.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "Quantity",
"min" : 0,
"max" : "*"
},
"condition" : ["ele-1"],
"constraint" : [{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() or (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "Element"
},
{
"key" : "qty-3",
"severity" : "error",
"human" : "If a code for the unit is present, the system SHALL also be present",
"expression" : "code.empty() or system.exists()",
"xpath" : "not(exists(f:code)) or exists(f:system)"
}],
"isModifier" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
},
{
"identity" : "v2",
"map" : "SN (see also Range) or CQ"
},
{
"identity" : "rim",
"map" : "PQ, IVL, MO, CO, depending on the values"
}]
},
{
"id" : "Quantity.id",
"path" : "Quantity.id",
"representation" : ["xmlAttr"],
"short" : "Unique id for inter-element referencing",
"definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "Quantity.extension",
"path" : "Quantity.extension",
"slicing" : {
"discriminator" : [{
"type" : "value",
"path" : "url"
}],
"description" : "Extensions are always sliced by (at least) url",
"rules" : "open"
},
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "Quantity.value",
"path" : "Quantity.value",
"short" : "Numerical value (with implicit precision)",
"definition" : "The value of the measured amount. The value includes an implicit precision in the presentation of the value.",
"comment" : "The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).",
"requirements" : "Precision is handled implicitly in almost all cases of measurement.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Quantity.value",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "decimal"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "SN.2 / CQ - N/A"
},
{
"identity" : "rim",
"map" : "PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value"
}]
},
{
"id" : "Quantity.comparator",
"path" : "Quantity.comparator",
"short" : "< | <= | >= | > - how to understand the value",
"definition" : "How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \"<\" , then the real value is < stated value.",
"requirements" : "Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Quantity.comparator",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "code"
}],
"meaningWhenMissing" : "If there is no comparator, then there is no modification of the value",
"isModifier" : true,
"isModifierReason" : "This is labeled as \"Is Modifier\" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value",
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "QuantityComparator"
}],
"strength" : "required",
"description" : "How the Quantity should be understood and represented.",
"valueSet" : "http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.0"
},
"mapping" : [{
"identity" : "v2",
"map" : "SN.1 / CQ.1"
},
{
"identity" : "rim",
"map" : "IVL properties"
}]
},
{
"id" : "Quantity.unit",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean" : true
}],
"path" : "Quantity.unit",
"short" : "Unit representation",
"definition" : "A human-readable form of the unit.",
"requirements" : "There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Quantity.unit",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "(see OBX.6 etc.) / CQ.2"
},
{
"identity" : "rim",
"map" : "PQ.unit"
}]
},
{
"id" : "Quantity.system",
"path" : "Quantity.system",
"short" : "System that defines coded unit form",
"definition" : "The identification of the system that provides the coded form of the unit.",
"requirements" : "Need to know the system that defines the coded form of the unit.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Quantity.system",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "uri"
}],
"condition" : ["qty-3"],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "(see OBX.6 etc.) / CQ.2"
},
{
"identity" : "rim",
"map" : "CO.codeSystem, PQ.translation.codeSystem"
}]
},
{
"id" : "Quantity.code",
"path" : "Quantity.code",
"short" : "Coded form of the unit",
"definition" : "A computer processable form of the unit in some unit representation system.",
"comment" : "The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system.",
"requirements" : "Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Quantity.code",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "code"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "(see OBX.6 etc.) / CQ.2"
},
{
"identity" : "rim",
"map" : "PQ.code, MO.currency, PQ.translation.code"
}]
}]
},
"differential" : {
"element" : [{
"id" : "Quantity",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"path" : "Quantity",
"short" : "A measured or measurable amount",
"definition" : "A measured amount (or an amount that can potentially be measured). Note that measured amounts include amounts that are not precisely quantified, including amounts involving arbitrary units and floating currencies.",
"comment" : "The context of use may frequently define what kind of quantity this is and therefore what kind of units can be used. The context of use may also restrict the values for the comparator.",
"min" : 0,
"max" : "*",
"constraint" : [{
"key" : "qty-3",
"severity" : "error",
"human" : "If a code for the unit is present, the system SHALL also be present",
"expression" : "code.empty() or system.exists()",
"xpath" : "not(exists(f:code)) or exists(f:system)"
}],
"mapping" : [{
"identity" : "v2",
"map" : "SN (see also Range) or CQ"
},
{
"identity" : "rim",
"map" : "PQ, IVL, MO, CO, depending on the values"
}]
},
{
"id" : "Quantity.value",
"path" : "Quantity.value",
"short" : "Numerical value (with implicit precision)",
"definition" : "The value of the measured amount. The value includes an implicit precision in the presentation of the value.",
"comment" : "The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).",
"requirements" : "Precision is handled implicitly in almost all cases of measurement.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "decimal"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "SN.2 / CQ - N/A"
},
{
"identity" : "rim",
"map" : "PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value"
}]
},
{
"id" : "Quantity.comparator",
"path" : "Quantity.comparator",
"short" : "< | <= | >= | > - how to understand the value",
"definition" : "How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \"<\" , then the real value is < stated value.",
"requirements" : "Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "code"
}],
"meaningWhenMissing" : "If there is no comparator, then there is no modification of the value",
"isModifier" : true,
"isModifierReason" : "This is labeled as \"Is Modifier\" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value",
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "QuantityComparator"
}],
"strength" : "required",
"description" : "How the Quantity should be understood and represented.",
"valueSet" : "http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.0"
},
"mapping" : [{
"identity" : "v2",
"map" : "SN.1 / CQ.1"
},
{
"identity" : "rim",
"map" : "IVL properties"
}]
},
{
"id" : "Quantity.unit",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean" : true
}],
"path" : "Quantity.unit",
"short" : "Unit representation",
"definition" : "A human-readable form of the unit.",
"requirements" : "There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "string"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "(see OBX.6 etc.) / CQ.2"
},
{
"identity" : "rim",
"map" : "PQ.unit"
}]
},
{
"id" : "Quantity.system",
"path" : "Quantity.system",
"short" : "System that defines coded unit form",
"definition" : "The identification of the system that provides the coded form of the unit.",
"requirements" : "Need to know the system that defines the coded form of the unit.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "uri"
}],
"condition" : ["qty-3"],
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "(see OBX.6 etc.) / CQ.2"
},
{
"identity" : "rim",
"map" : "CO.codeSystem, PQ.translation.codeSystem"
}]
},
{
"id" : "Quantity.code",
"path" : "Quantity.code",
"short" : "Coded form of the unit",
"definition" : "A computer processable form of the unit in some unit representation system.",
"comment" : "The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system.",
"requirements" : "Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "code"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "(see OBX.6 etc.) / CQ.2"
},
{
"identity" : "rim",
"map" : "PQ.code, MO.currency, PQ.translation.code"
}]
}]
}
}
},
{
"fullUrl" : "http://hl7.org/fhir/StructureDefinition/Range",
"resource" : {
"resourceType" : "StructureDefinition",
"id" : "Range",
"meta" : {
"lastUpdated" : "2018-12-27T22:37:54.724+11:00"
},
"text" : {
"status" : "generated",
"div" : "
"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/Range",
"version" : "4.0.0",
"name" : "Range",
"status" : "active",
"date" : "2018-12-27T22:37:54+11:00",
"publisher" : "HL7 FHIR Standard",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
}]
}],
"description" : "Base StructureDefinition for Range Type: A set of ordered Quantities defined by a low and high limit.",
"purpose" : "Need to be able to specify ranges of values.",
"fhirVersion" : "4.0.0",
"mapping" : [{
"identity" : "v2",
"uri" : "http://hl7.org/v2",
"name" : "HL7 v2 Mapping"
},
{
"identity" : "rim",
"uri" : "http://hl7.org/v3",
"name" : "RIM Mapping"
}],
"kind" : "complex-type",
"abstract" : false,
"type" : "Range",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Element",
"derivation" : "specialization",
"snapshot" : {
"element" : [{
"id" : "Range",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"path" : "Range",
"short" : "Set of values bounded by low and high",
"definition" : "A set of ordered Quantities defined by a low and high limit.",
"comment" : "The stated low and high value are assumed to have arbitrarily high precision when it comes to determining which values are in the range. I.e. 1.99 is not in the range 2 -> 3.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "Range",
"min" : 0,
"max" : "*"
},
"condition" : ["ele-1"],
"constraint" : [{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() or (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "Element"
},
{
"key" : "rng-2",
"severity" : "error",
"human" : "If present, low SHALL have a lower value than high",
"expression" : "low.empty() or high.empty() or (low <= high)",
"xpath" : "not(exists(f:low/f:value/@value)) or not(exists(f:high/f:value/@value)) or (number(f:low/f:value/@value) <= number(f:high/f:value/@value))"
}],
"isModifier" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
},
{
"identity" : "v2",
"map" : "NR and also possibly SN (but see also quantity)"
},
{
"identity" : "rim",
"map" : "IVL [lowClosed=\"true\" and highClosed=\"true\"]or URG"
}]
},
{
"id" : "Range.id",
"path" : "Range.id",
"representation" : ["xmlAttr"],
"short" : "Unique id for inter-element referencing",
"definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "Range.extension",
"path" : "Range.extension",
"slicing" : {
"discriminator" : [{
"type" : "value",
"path" : "url"
}],
"description" : "Extensions are always sliced by (at least) url",
"rules" : "open"
},
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "Range.low",
"path" : "Range.low",
"short" : "Low limit",
"definition" : "The low limit. The boundary is inclusive.",
"comment" : "If the low element is missing, the low boundary is not known.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Range.low",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "Quantity",
"profile" : ["http://hl7.org/fhir/StructureDefinition/SimpleQuantity"]
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "NR.1"
},
{
"identity" : "rim",
"map" : "./low"
}]
},
{
"id" : "Range.high",
"path" : "Range.high",
"short" : "High limit",
"definition" : "The high limit. The boundary is inclusive.",
"comment" : "If the high element is missing, the high boundary is not known.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Range.high",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "Quantity",
"profile" : ["http://hl7.org/fhir/StructureDefinition/SimpleQuantity"]
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "NR.2"
},
{
"identity" : "rim",
"map" : "./high"
}]
}]
},
"differential" : {
"element" : [{
"id" : "Range",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"path" : "Range",
"short" : "Set of values bounded by low and high",
"definition" : "A set of ordered Quantities defined by a low and high limit.",
"comment" : "The stated low and high value are assumed to have arbitrarily high precision when it comes to determining which values are in the range. I.e. 1.99 is not in the range 2 -> 3.",
"min" : 0,
"max" : "*",
"constraint" : [{
"key" : "rng-2",
"severity" : "error",
"human" : "If present, low SHALL have a lower value than high",
"expression" : "low.empty() or high.empty() or (low <= high)",
"xpath" : "not(exists(f:low/f:value/@value)) or not(exists(f:high/f:value/@value)) or (number(f:low/f:value/@value) <= number(f:high/f:value/@value))"
}],
"mapping" : [{
"identity" : "v2",
"map" : "NR and also possibly SN (but see also quantity)"
},
{
"identity" : "rim",
"map" : "IVL [lowClosed=\"true\" and highClosed=\"true\"]or URG"
}]
},
{
"id" : "Range.low",
"path" : "Range.low",
"short" : "Low limit",
"definition" : "The low limit. The boundary is inclusive.",
"comment" : "If the low element is missing, the low boundary is not known.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "Quantity",
"profile" : ["http://hl7.org/fhir/StructureDefinition/SimpleQuantity"]
}],
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "NR.1"
},
{
"identity" : "rim",
"map" : "./low"
}]
},
{
"id" : "Range.high",
"path" : "Range.high",
"short" : "High limit",
"definition" : "The high limit. The boundary is inclusive.",
"comment" : "If the high element is missing, the high boundary is not known.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "Quantity",
"profile" : ["http://hl7.org/fhir/StructureDefinition/SimpleQuantity"]
}],
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "NR.2"
},
{
"identity" : "rim",
"map" : "./high"
}]
}]
}
}
},
{
"fullUrl" : "http://hl7.org/fhir/StructureDefinition/Ratio",
"resource" : {
"resourceType" : "StructureDefinition",
"id" : "Ratio",
"meta" : {
"lastUpdated" : "2018-12-27T22:37:54.724+11:00"
},
"text" : {
"status" : "generated",
"div" : "
A ratio of two Quantity values - a numerator and a denominator + Rule: Numerator and denominator SHALL both be present, or both are absent. If both are absent, there SHALL be some extension present Elements defined in Ancestors: id, extension
"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/Ratio",
"version" : "4.0.0",
"name" : "Ratio",
"status" : "active",
"date" : "2018-12-27T22:37:54+11:00",
"publisher" : "HL7 FHIR Standard",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
}]
}],
"description" : "Base StructureDefinition for Ratio Type: A relationship of two Quantity values - expressed as a numerator and a denominator.",
"purpose" : "Need to able to capture ratios for some measurements (titers) and some rates (costs).",
"fhirVersion" : "4.0.0",
"mapping" : [{
"identity" : "v2",
"uri" : "http://hl7.org/v2",
"name" : "HL7 v2 Mapping"
},
{
"identity" : "rim",
"uri" : "http://hl7.org/v3",
"name" : "RIM Mapping"
}],
"kind" : "complex-type",
"abstract" : false,
"type" : "Ratio",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Element",
"derivation" : "specialization",
"snapshot" : {
"element" : [{
"id" : "Ratio",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"path" : "Ratio",
"short" : "A ratio of two Quantity values - a numerator and a denominator",
"definition" : "A relationship of two Quantity values - expressed as a numerator and a denominator.",
"comment" : "The Ratio datatype should only be used to express a relationship of two numbers if the relationship cannot be suitably expressed using a Quantity and a common unit. Where the denominator value is known to be fixed to \"1\", Quantity should be used instead of Ratio.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "Ratio",
"min" : 0,
"max" : "*"
},
"condition" : ["ele-1"],
"constraint" : [{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() or (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "Element"
},
{
"key" : "rat-1",
"severity" : "error",
"human" : "Numerator and denominator SHALL both be present, or both are absent. If both are absent, there SHALL be some extension present",
"expression" : "(numerator.empty() xor denominator.exists()) and (numerator.exists() or extension.exists())",
"xpath" : "(count(f:numerator) = count(f:denominator)) and ((count(f:numerator) > 0) or (count(f:extension) > 0))"
}],
"isModifier" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
},
{
"identity" : "v2",
"map" : "N/A"
},
{
"identity" : "rim",
"map" : "RTO"
}]
},
{
"id" : "Ratio.id",
"path" : "Ratio.id",
"representation" : ["xmlAttr"],
"short" : "Unique id for inter-element referencing",
"definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "Ratio.extension",
"path" : "Ratio.extension",
"slicing" : {
"discriminator" : [{
"type" : "value",
"path" : "url"
}],
"description" : "Extensions are always sliced by (at least) url",
"rules" : "open"
},
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "Ratio.numerator",
"path" : "Ratio.numerator",
"short" : "Numerator value",
"definition" : "The value of the numerator.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Ratio.numerator",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "Quantity"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : ".numerator"
}]
},
{
"id" : "Ratio.denominator",
"path" : "Ratio.denominator",
"short" : "Denominator value",
"definition" : "The value of the denominator.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Ratio.denominator",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "Quantity"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : ".denominator"
}]
}]
},
"differential" : {
"element" : [{
"id" : "Ratio",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"path" : "Ratio",
"short" : "A ratio of two Quantity values - a numerator and a denominator",
"definition" : "A relationship of two Quantity values - expressed as a numerator and a denominator.",
"comment" : "The Ratio datatype should only be used to express a relationship of two numbers if the relationship cannot be suitably expressed using a Quantity and a common unit. Where the denominator value is known to be fixed to \"1\", Quantity should be used instead of Ratio.",
"min" : 0,
"max" : "*",
"constraint" : [{
"key" : "rat-1",
"severity" : "error",
"human" : "Numerator and denominator SHALL both be present, or both are absent. If both are absent, there SHALL be some extension present",
"expression" : "(numerator.empty() xor denominator.exists()) and (numerator.exists() or extension.exists())",
"xpath" : "(count(f:numerator) = count(f:denominator)) and ((count(f:numerator) > 0) or (count(f:extension) > 0))"
}],
"mapping" : [{
"identity" : "v2",
"map" : "N/A"
},
{
"identity" : "rim",
"map" : "RTO"
}]
},
{
"id" : "Ratio.numerator",
"path" : "Ratio.numerator",
"short" : "Numerator value",
"definition" : "The value of the numerator.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "Quantity"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : ".numerator"
}]
},
{
"id" : "Ratio.denominator",
"path" : "Ratio.denominator",
"short" : "Denominator value",
"definition" : "The value of the denominator.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "Quantity"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : ".denominator"
}]
}]
}
}
},
{
"fullUrl" : "http://hl7.org/fhir/StructureDefinition/Reference",
"resource" : {
"resourceType" : "StructureDefinition",
"id" : "Reference",
"meta" : {
"lastUpdated" : "2018-12-27T22:37:54.724+11:00"
},
"text" : {
"status" : "generated",
"div" : "
A reference from one resource to another + Rule: SHALL have a contained resource if a local reference is provided Elements defined in Ancestors: id, extension
"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/Reference",
"version" : "4.0.0",
"name" : "Reference",
"status" : "active",
"date" : "2018-12-27T22:37:54+11:00",
"publisher" : "HL7 FHIR Standard",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
}]
}],
"description" : "Base StructureDefinition for Reference Type: A reference from one resource to another.",
"fhirVersion" : "4.0.0",
"mapping" : [{
"identity" : "rim",
"uri" : "http://hl7.org/v3",
"name" : "RIM Mapping"
}],
"kind" : "complex-type",
"abstract" : false,
"type" : "Reference",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Element",
"derivation" : "specialization",
"snapshot" : {
"element" : [{
"id" : "Reference",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"path" : "Reference",
"short" : "A reference from one resource to another",
"definition" : "A reference from one resource to another.",
"comment" : "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "Reference",
"min" : 0,
"max" : "*"
},
"condition" : ["ele-1"],
"constraint" : [{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() or (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "Element"
},
{
"key" : "ref-1",
"severity" : "error",
"human" : "SHALL have a contained resource if a local reference is provided",
"expression" : "reference.startsWith('#').not() or (reference.substring(1).trace('url') in %resource.contained.id.trace('ids'))",
"xpath" : "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])"
}],
"isModifier" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
},
{
"identity" : "rim",
"map" : "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
}]
},
{
"id" : "Reference.id",
"path" : "Reference.id",
"representation" : ["xmlAttr"],
"short" : "Unique id for inter-element referencing",
"definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "Reference.extension",
"path" : "Reference.extension",
"slicing" : {
"discriminator" : [{
"type" : "value",
"path" : "url"
}],
"description" : "Extensions are always sliced by (at least) url",
"rules" : "open"
},
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "Reference.reference",
"path" : "Reference.reference",
"short" : "Literal reference, Relative, internal or absolute URL",
"definition" : "A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.",
"comment" : "Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \"/[type]/[id]\" then it should be assumed that the reference is to a FHIR RESTful server.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Reference.reference",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"condition" : ["ref-1"],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A"
}]
},
{
"id" : "Reference.type",
"path" : "Reference.type",
"short" : "Type the reference refers to (e.g. \"Patient\")",
"definition" : "The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.\n\nThe type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. \"Patient\" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources).",
"comment" : "This element is used to indicate the type of the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a RESTful URL) or by resolving the target of the reference; if both the type and a reference is provided, the reference SHALL resolve to a resource of the same type as that specified.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Reference.type",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "uri"
}],
"isModifier" : false,
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "FHIRResourceTypeExt"
}],
"strength" : "extensible",
"description" : "Aa resource (or, for logical models, the URI of the logical model).",
"valueSet" : "http://hl7.org/fhir/ValueSet/resource-types"
},
"mapping" : [{
"identity" : "rim",
"map" : "N/A"
}]
},
{
"id" : "Reference.identifier",
"path" : "Reference.identifier",
"short" : "Logical reference, when literal reference is not known",
"definition" : "An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.",
"comment" : "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.\n\nReference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference. For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport). One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any).",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Reference.identifier",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "Identifier"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : ".identifier"
}]
},
{
"id" : "Reference.display",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean" : true
}],
"path" : "Reference.display",
"short" : "Text alternative for the resource",
"definition" : "Plain text narrative that identifies the resource in addition to the resource reference.",
"comment" : "This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Reference.display",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A"
}]
}]
},
"differential" : {
"element" : [{
"id" : "Reference",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"path" : "Reference",
"short" : "A reference from one resource to another",
"definition" : "A reference from one resource to another.",
"comment" : "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
"min" : 0,
"max" : "*",
"constraint" : [{
"key" : "ref-1",
"severity" : "error",
"human" : "SHALL have a contained resource if a local reference is provided",
"expression" : "reference.startsWith('#').not() or (reference.substring(1).trace('url') in %resource.contained.id.trace('ids'))",
"xpath" : "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])"
}],
"mapping" : [{
"identity" : "rim",
"map" : "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
}]
},
{
"id" : "Reference.reference",
"path" : "Reference.reference",
"short" : "Literal reference, Relative, internal or absolute URL",
"definition" : "A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.",
"comment" : "Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \"/[type]/[id]\" then it should be assumed that the reference is to a FHIR RESTful server.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "string"
}],
"condition" : ["ref-1"],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A"
}]
},
{
"id" : "Reference.type",
"path" : "Reference.type",
"short" : "Type the reference refers to (e.g. \"Patient\")",
"definition" : "The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.\n\nThe type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. \"Patient\" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources).",
"comment" : "This element is used to indicate the type of the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a RESTful URL) or by resolving the target of the reference; if both the type and a reference is provided, the reference SHALL resolve to a resource of the same type as that specified.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "uri"
}],
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "FHIRResourceTypeExt"
}],
"strength" : "extensible",
"description" : "Aa resource (or, for logical models, the URI of the logical model).",
"valueSet" : "http://hl7.org/fhir/ValueSet/resource-types"
},
"mapping" : [{
"identity" : "rim",
"map" : "N/A"
}]
},
{
"id" : "Reference.identifier",
"path" : "Reference.identifier",
"short" : "Logical reference, when literal reference is not known",
"definition" : "An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.",
"comment" : "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.\n\nReference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference. For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport). One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any).",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "Identifier"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : ".identifier"
}]
},
{
"id" : "Reference.display",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean" : true
}],
"path" : "Reference.display",
"short" : "Text alternative for the resource",
"definition" : "Plain text narrative that identifies the resource in addition to the resource reference.",
"comment" : "This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "string"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A"
}]
}]
}
}
},
{
"fullUrl" : "http://hl7.org/fhir/StructureDefinition/RelatedArtifact",
"resource" : {
"resourceType" : "StructureDefinition",
"id" : "RelatedArtifact",
"meta" : {
"lastUpdated" : "2018-12-27T22:37:54.724+11:00"
},
"text" : {
"status" : "generated",
"div" : "
"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "trial-use"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/RelatedArtifact",
"version" : "4.0.0",
"name" : "RelatedArtifact",
"status" : "draft",
"date" : "2018-12-27T22:37:54+11:00",
"publisher" : "HL7 FHIR Standard",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
}]
}],
"description" : "Base StructureDefinition for RelatedArtifact Type: Related artifacts such as additional documentation, justification, or bibliographic references.",
"purpose" : "Knowledge resources must be able to provide enough information for consumers of the content (and/or interventions or results produced by the content) to be able to determine and understand the justification for and evidence in support of the content.",
"fhirVersion" : "4.0.0",
"mapping" : [{
"identity" : "rim",
"uri" : "http://hl7.org/v3",
"name" : "RIM Mapping"
}],
"kind" : "complex-type",
"abstract" : false,
"type" : "RelatedArtifact",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Element",
"derivation" : "specialization",
"snapshot" : {
"element" : [{
"id" : "RelatedArtifact",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "trial-use"
}],
"path" : "RelatedArtifact",
"short" : "Related artifacts for a knowledge resource",
"definition" : "Related artifacts such as additional documentation, justification, or bibliographic references.",
"comment" : "Each related artifact is either an attachment, or a reference to another knowledge resource, but not both.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "RelatedArtifact",
"min" : 0,
"max" : "*"
},
"condition" : ["ele-1"],
"constraint" : [{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() or (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "Element"
}],
"isModifier" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "RelatedArtifact.id",
"path" : "RelatedArtifact.id",
"representation" : ["xmlAttr"],
"short" : "Unique id for inter-element referencing",
"definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "RelatedArtifact.extension",
"path" : "RelatedArtifact.extension",
"slicing" : {
"discriminator" : [{
"type" : "value",
"path" : "url"
}],
"description" : "Extensions are always sliced by (at least) url",
"rules" : "open"
},
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "RelatedArtifact.type",
"path" : "RelatedArtifact.type",
"short" : "documentation | justification | citation | predecessor | successor | derived-from | depends-on | composed-of",
"definition" : "The type of relationship to the related artifact.",
"min" : 1,
"max" : "1",
"base" : {
"path" : "RelatedArtifact.type",
"min" : 1,
"max" : "1"
},
"type" : [{
"code" : "code"
}],
"isModifier" : false,
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "RelatedArtifactType"
}],
"strength" : "required",
"description" : "The type of relationship to the related artifact.",
"valueSet" : "http://hl7.org/fhir/ValueSet/related-artifact-type|4.0.0"
}
},
{
"id" : "RelatedArtifact.label",
"path" : "RelatedArtifact.label",
"short" : "Short label",
"definition" : "A short label that can be used to reference the citation from elsewhere in the containing artifact, such as a footnote index.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "RelatedArtifact.label",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : true
},
{
"id" : "RelatedArtifact.display",
"path" : "RelatedArtifact.display",
"short" : "Brief description of the related artifact",
"definition" : "A brief description of the document or knowledge resource being referenced, suitable for display to a consumer.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "RelatedArtifact.display",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : true
},
{
"id" : "RelatedArtifact.citation",
"path" : "RelatedArtifact.citation",
"short" : "Bibliographic citation for the artifact",
"definition" : "A bibliographic citation for the related artifact. This text SHOULD be formatted according to an accepted citation format.",
"comment" : "Additional structured information about citations should be captured as extensions.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "RelatedArtifact.citation",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "markdown"
}],
"isModifier" : false,
"isSummary" : true
},
{
"id" : "RelatedArtifact.url",
"path" : "RelatedArtifact.url",
"short" : "Where the artifact can be accessed",
"definition" : "A url for the artifact that can be followed to access the actual content.",
"comment" : "If a document or resource element is present, this element SHALL NOT be provided (use the url or reference in the Attachment or resource reference).",
"min" : 0,
"max" : "1",
"base" : {
"path" : "RelatedArtifact.url",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "url"
}],
"isModifier" : false,
"isSummary" : true
},
{
"id" : "RelatedArtifact.document",
"path" : "RelatedArtifact.document",
"short" : "What document is being referenced",
"definition" : "The document being referenced, represented as an attachment. This is exclusive with the resource element.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "RelatedArtifact.document",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "Attachment"
}],
"isModifier" : false,
"isSummary" : true
},
{
"id" : "RelatedArtifact.resource",
"path" : "RelatedArtifact.resource",
"short" : "What resource is being referenced",
"definition" : "The related resource, such as a library, value set, profile, or other knowledge resource.",
"comment" : "If the type is predecessor, this is a reference to the succeeding knowledge resource. If the type is successor, this is a reference to the prior knowledge resource.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "RelatedArtifact.resource",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "canonical",
"targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Resource"]
}],
"isModifier" : false,
"isSummary" : true
}]
},
"differential" : {
"element" : [{
"id" : "RelatedArtifact",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "trial-use"
}],
"path" : "RelatedArtifact",
"short" : "Related artifacts for a knowledge resource",
"definition" : "Related artifacts such as additional documentation, justification, or bibliographic references.",
"comment" : "Each related artifact is either an attachment, or a reference to another knowledge resource, but not both.",
"min" : 0,
"max" : "*"
},
{
"id" : "RelatedArtifact.type",
"path" : "RelatedArtifact.type",
"short" : "documentation | justification | citation | predecessor | successor | derived-from | depends-on | composed-of",
"definition" : "The type of relationship to the related artifact.",
"min" : 1,
"max" : "1",
"type" : [{
"code" : "code"
}],
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "RelatedArtifactType"
}],
"strength" : "required",
"description" : "The type of relationship to the related artifact.",
"valueSet" : "http://hl7.org/fhir/ValueSet/related-artifact-type|4.0.0"
}
},
{
"id" : "RelatedArtifact.label",
"path" : "RelatedArtifact.label",
"short" : "Short label",
"definition" : "A short label that can be used to reference the citation from elsewhere in the containing artifact, such as a footnote index.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "string"
}],
"isSummary" : true
},
{
"id" : "RelatedArtifact.display",
"path" : "RelatedArtifact.display",
"short" : "Brief description of the related artifact",
"definition" : "A brief description of the document or knowledge resource being referenced, suitable for display to a consumer.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "string"
}],
"isSummary" : true
},
{
"id" : "RelatedArtifact.citation",
"path" : "RelatedArtifact.citation",
"short" : "Bibliographic citation for the artifact",
"definition" : "A bibliographic citation for the related artifact. This text SHOULD be formatted according to an accepted citation format.",
"comment" : "Additional structured information about citations should be captured as extensions.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "markdown"
}],
"isSummary" : true
},
{
"id" : "RelatedArtifact.url",
"path" : "RelatedArtifact.url",
"short" : "Where the artifact can be accessed",
"definition" : "A url for the artifact that can be followed to access the actual content.",
"comment" : "If a document or resource element is present, this element SHALL NOT be provided (use the url or reference in the Attachment or resource reference).",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "url"
}],
"isSummary" : true
},
{
"id" : "RelatedArtifact.document",
"path" : "RelatedArtifact.document",
"short" : "What document is being referenced",
"definition" : "The document being referenced, represented as an attachment. This is exclusive with the resource element.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "Attachment"
}],
"isSummary" : true
},
{
"id" : "RelatedArtifact.resource",
"path" : "RelatedArtifact.resource",
"short" : "What resource is being referenced",
"definition" : "The related resource, such as a library, value set, profile, or other knowledge resource.",
"comment" : "If the type is predecessor, this is a reference to the succeeding knowledge resource. If the type is successor, this is a reference to the prior knowledge resource.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "canonical",
"targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Resource"]
}],
"isSummary" : true
}]
}
}
},
{
"fullUrl" : "http://hl7.org/fhir/StructureDefinition/SampledData",
"resource" : {
"resourceType" : "StructureDefinition",
"id" : "SampledData",
"meta" : {
"lastUpdated" : "2018-12-27T22:37:54.724+11:00"
},
"text" : {
"status" : "generated",
"div" : "
"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "trial-use"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/SampledData",
"version" : "4.0.0",
"name" : "SampledData",
"status" : "draft",
"date" : "2018-12-27T22:37:54+11:00",
"publisher" : "HL7 FHIR Standard",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
}]
}],
"description" : "Base StructureDefinition for SampledData Type: A series of measurements taken by a device, with upper and lower limits. There may be more than one dimension in the data.",
"purpose" : "There is a need for a concise way to handle the data produced by devices that sample a physical state at a high frequency.",
"fhirVersion" : "4.0.0",
"mapping" : [{
"identity" : "v2",
"uri" : "http://hl7.org/v2",
"name" : "HL7 v2 Mapping"
},
{
"identity" : "rim",
"uri" : "http://hl7.org/v3",
"name" : "RIM Mapping"
}],
"kind" : "complex-type",
"abstract" : false,
"type" : "SampledData",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Element",
"derivation" : "specialization",
"snapshot" : {
"element" : [{
"id" : "SampledData",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "trial-use"
}],
"path" : "SampledData",
"short" : "A series of measurements taken by a device",
"definition" : "A series of measurements taken by a device, with upper and lower limits. There may be more than one dimension in the data.",
"comment" : "The data is not interpretable without at least origin, period, and dimensions, but these are optional to allow a separation between the template of measurement and the actual measurement, such as between DeviceCapabilities and DeviceLog. When providing a summary view (for example with Observation.value[x]) SampledData should be represented with a brief display text such as \"Sampled Data\".",
"min" : 0,
"max" : "*",
"base" : {
"path" : "SampledData",
"min" : 0,
"max" : "*"
},
"condition" : ["ele-1"],
"constraint" : [{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() or (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "Element"
}],
"isModifier" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
},
{
"identity" : "v2",
"map" : "N/A (but see section 7.14 in v2.7)"
},
{
"identity" : "rim",
"map" : "SLIST + GLIST"
}]
},
{
"id" : "SampledData.id",
"path" : "SampledData.id",
"representation" : ["xmlAttr"],
"short" : "Unique id for inter-element referencing",
"definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "SampledData.extension",
"path" : "SampledData.extension",
"slicing" : {
"discriminator" : [{
"type" : "value",
"path" : "url"
}],
"description" : "Extensions are always sliced by (at least) url",
"rules" : "open"
},
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "SampledData.origin",
"path" : "SampledData.origin",
"short" : "Zero value and units",
"definition" : "The base quantity that a measured value of zero represents. In addition, this provides the units of the entire measurement series.",
"min" : 1,
"max" : "1",
"base" : {
"path" : "SampledData.origin",
"min" : 1,
"max" : "1"
},
"type" : [{
"code" : "Quantity",
"profile" : ["http://hl7.org/fhir/StructureDefinition/SimpleQuantity"]
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "SLIST.origin"
}]
},
{
"id" : "SampledData.period",
"path" : "SampledData.period",
"short" : "Number of milliseconds between samples",
"definition" : "The length of time between sampling times, measured in milliseconds.",
"comment" : "This is usually a whole number.",
"min" : 1,
"max" : "1",
"base" : {
"path" : "SampledData.period",
"min" : 1,
"max" : "1"
},
"type" : [{
"code" : "decimal"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "GLIST.increment"
}]
},
{
"id" : "SampledData.factor",
"path" : "SampledData.factor",
"short" : "Multiply data by this before adding to origin",
"definition" : "A correction factor that is applied to the sampled data points before they are added to the origin.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "SampledData.factor",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "decimal"
}],
"meaningWhenMissing" : "If no factor is assigned, the data is not adjusted before adding to the origin",
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "SLIST.factor"
}]
},
{
"id" : "SampledData.lowerLimit",
"path" : "SampledData.lowerLimit",
"short" : "Lower limit of detection",
"definition" : "The lower limit of detection of the measured points. This is needed if any of the data points have the value \"L\" (lower than detection limit).",
"min" : 0,
"max" : "1",
"base" : {
"path" : "SampledData.lowerLimit",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "decimal"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (use SLIST.digits.nullFlavor)"
}]
},
{
"id" : "SampledData.upperLimit",
"path" : "SampledData.upperLimit",
"short" : "Upper limit of detection",
"definition" : "The upper limit of detection of the measured points. This is needed if any of the data points have the value \"U\" (higher than detection limit).",
"min" : 0,
"max" : "1",
"base" : {
"path" : "SampledData.upperLimit",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "decimal"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (use SLIST.digits.nullFlavor)"
}]
},
{
"id" : "SampledData.dimensions",
"path" : "SampledData.dimensions",
"short" : "Number of sample points at each time point",
"definition" : "The number of sample points at each time point. If this value is greater than one, then the dimensions will be interlaced - all the sample points for a point in time will be recorded at once.",
"comment" : "If there is more than one dimension, the code for the type of data will define the meaning of the dimensions (typically ECG data).",
"min" : 1,
"max" : "1",
"base" : {
"path" : "SampledData.dimensions",
"min" : 1,
"max" : "1"
},
"type" : [{
"code" : "positiveInt"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (fixed to 1)"
}]
},
{
"id" : "SampledData.data",
"path" : "SampledData.data",
"short" : "Decimal values with spaces, or \"E\" | \"U\" | \"L\"",
"definition" : "A series of data points which are decimal values separated by a single space (character u20). The special values \"E\" (error), \"L\" (below detection limit) and \"U\" (above detection limit) can also be used in place of a decimal value.",
"comment" : "Data may be missing if it is omitted for summarization purposes. In general, data is required for any actual use of a SampledData.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "SampledData.data",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "SLIST.digits"
}]
}]
},
"differential" : {
"element" : [{
"id" : "SampledData",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "trial-use"
}],
"path" : "SampledData",
"short" : "A series of measurements taken by a device",
"definition" : "A series of measurements taken by a device, with upper and lower limits. There may be more than one dimension in the data.",
"comment" : "The data is not interpretable without at least origin, period, and dimensions, but these are optional to allow a separation between the template of measurement and the actual measurement, such as between DeviceCapabilities and DeviceLog. When providing a summary view (for example with Observation.value[x]) SampledData should be represented with a brief display text such as \"Sampled Data\".",
"min" : 0,
"max" : "*",
"mapping" : [{
"identity" : "v2",
"map" : "N/A (but see section 7.14 in v2.7)"
},
{
"identity" : "rim",
"map" : "SLIST + GLIST"
}]
},
{
"id" : "SampledData.origin",
"path" : "SampledData.origin",
"short" : "Zero value and units",
"definition" : "The base quantity that a measured value of zero represents. In addition, this provides the units of the entire measurement series.",
"min" : 1,
"max" : "1",
"type" : [{
"code" : "Quantity",
"profile" : ["http://hl7.org/fhir/StructureDefinition/SimpleQuantity"]
}],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "SLIST.origin"
}]
},
{
"id" : "SampledData.period",
"path" : "SampledData.period",
"short" : "Number of milliseconds between samples",
"definition" : "The length of time between sampling times, measured in milliseconds.",
"comment" : "This is usually a whole number.",
"min" : 1,
"max" : "1",
"type" : [{
"code" : "decimal"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "GLIST.increment"
}]
},
{
"id" : "SampledData.factor",
"path" : "SampledData.factor",
"short" : "Multiply data by this before adding to origin",
"definition" : "A correction factor that is applied to the sampled data points before they are added to the origin.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "decimal"
}],
"meaningWhenMissing" : "If no factor is assigned, the data is not adjusted before adding to the origin",
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "SLIST.factor"
}]
},
{
"id" : "SampledData.lowerLimit",
"path" : "SampledData.lowerLimit",
"short" : "Lower limit of detection",
"definition" : "The lower limit of detection of the measured points. This is needed if any of the data points have the value \"L\" (lower than detection limit).",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "decimal"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (use SLIST.digits.nullFlavor)"
}]
},
{
"id" : "SampledData.upperLimit",
"path" : "SampledData.upperLimit",
"short" : "Upper limit of detection",
"definition" : "The upper limit of detection of the measured points. This is needed if any of the data points have the value \"U\" (higher than detection limit).",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "decimal"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (use SLIST.digits.nullFlavor)"
}]
},
{
"id" : "SampledData.dimensions",
"path" : "SampledData.dimensions",
"short" : "Number of sample points at each time point",
"definition" : "The number of sample points at each time point. If this value is greater than one, then the dimensions will be interlaced - all the sample points for a point in time will be recorded at once.",
"comment" : "If there is more than one dimension, the code for the type of data will define the meaning of the dimensions (typically ECG data).",
"min" : 1,
"max" : "1",
"type" : [{
"code" : "positiveInt"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (fixed to 1)"
}]
},
{
"id" : "SampledData.data",
"path" : "SampledData.data",
"short" : "Decimal values with spaces, or \"E\" | \"U\" | \"L\"",
"definition" : "A series of data points which are decimal values separated by a single space (character u20). The special values \"E\" (error), \"L\" (below detection limit) and \"U\" (above detection limit) can also be used in place of a decimal value.",
"comment" : "Data may be missing if it is omitted for summarization purposes. In general, data is required for any actual use of a SampledData.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "string"
}],
"mapping" : [{
"identity" : "rim",
"map" : "SLIST.digits"
}]
}]
}
}
},
{
"fullUrl" : "http://hl7.org/fhir/StructureDefinition/Signature",
"resource" : {
"resourceType" : "StructureDefinition",
"id" : "Signature",
"meta" : {
"lastUpdated" : "2018-12-27T22:37:54.724+11:00"
},
"text" : {
"status" : "generated",
"div" : "
"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "trial-use"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/Signature",
"version" : "4.0.0",
"name" : "Signature",
"status" : "draft",
"date" : "2018-12-27T22:37:54+11:00",
"publisher" : "HL7 FHIR Standard",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
}]
}],
"description" : "Base StructureDefinition for Signature Type: A signature along with supporting context. The signature may be a digital signature that is cryptographic in nature, or some other signature acceptable to the domain. This other signature may be as simple as a graphical image representing a hand-written signature, or a signature ceremony Different signature approaches have different utilities.",
"purpose" : "There are a number of places where content must be signed in healthcare.",
"fhirVersion" : "4.0.0",
"mapping" : [{
"identity" : "rim",
"uri" : "http://hl7.org/v3",
"name" : "RIM Mapping"
}],
"kind" : "complex-type",
"abstract" : false,
"type" : "Signature",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Element",
"derivation" : "specialization",
"snapshot" : {
"element" : [{
"id" : "Signature",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "trial-use"
}],
"path" : "Signature",
"short" : "A Signature - XML DigSig, JWS, Graphical image of signature, etc.",
"definition" : "A signature along with supporting context. The signature may be a digital signature that is cryptographic in nature, or some other signature acceptable to the domain. This other signature may be as simple as a graphical image representing a hand-written signature, or a signature ceremony Different signature approaches have different utilities.",
"comment" : "The elements of the Signature Resource are for ease of access of these elements. For digital signatures (Xml DigSig, JWS), the non-repudiation proof comes from the Signature validation, which includes validation of the referenced objects (e.g. Resources) (a.k.a., Content) in the XML-Signature Detached form.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "Signature",
"min" : 0,
"max" : "*"
},
"condition" : ["ele-1"],
"constraint" : [{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() or (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "Element"
}],
"isModifier" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
},
{
"identity" : "rim",
"map" : "N/A"
}]
},
{
"id" : "Signature.id",
"path" : "Signature.id",
"representation" : ["xmlAttr"],
"short" : "Unique id for inter-element referencing",
"definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "Signature.extension",
"path" : "Signature.extension",
"slicing" : {
"discriminator" : [{
"type" : "value",
"path" : "url"
}],
"description" : "Extensions are always sliced by (at least) url",
"rules" : "open"
},
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "Signature.type",
"path" : "Signature.type",
"short" : "Indication of the reason the entity signed the object(s)",
"definition" : "An indication of the reason that the entity signed this document. This may be explicitly included as part of the signature information and can be used when determining accountability for various actions concerning the document.",
"comment" : "Examples include attesting to: authorship, correct transcription, and witness of specific event. Also known as a "Commitment Type Indication".",
"min" : 1,
"max" : "*",
"base" : {
"path" : "Signature.type",
"min" : 1,
"max" : "*"
},
"type" : [{
"code" : "Coding"
}],
"isModifier" : false,
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "SignatureType"
}],
"strength" : "preferred",
"description" : "An indication of the reason that an entity signed the object.",
"valueSet" : "http://hl7.org/fhir/ValueSet/signature-type"
}
},
{
"id" : "Signature.when",
"path" : "Signature.when",
"short" : "When the signature was created",
"definition" : "When the digital signature was signed.",
"comment" : "This should agree with the information in the signature.",
"min" : 1,
"max" : "1",
"base" : {
"path" : "Signature.when",
"min" : 1,
"max" : "1"
},
"type" : [{
"code" : "instant"
}],
"isModifier" : false,
"isSummary" : true
},
{
"id" : "Signature.who",
"path" : "Signature.who",
"short" : "Who signed",
"definition" : "A reference to an application-usable description of the identity that signed (e.g. the signature used their private key).",
"comment" : "This should agree with the information in the signature.",
"min" : 1,
"max" : "1",
"base" : {
"path" : "Signature.who",
"min" : 1,
"max" : "1"
},
"type" : [{
"code" : "Reference",
"targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Practitioner",
"http://hl7.org/fhir/StructureDefinition/PractitionerRole",
"http://hl7.org/fhir/StructureDefinition/RelatedPerson",
"http://hl7.org/fhir/StructureDefinition/Patient",
"http://hl7.org/fhir/StructureDefinition/Device",
"http://hl7.org/fhir/StructureDefinition/Organization"]
}],
"isModifier" : false,
"isSummary" : true
},
{
"id" : "Signature.onBehalfOf",
"path" : "Signature.onBehalfOf",
"short" : "The party represented",
"definition" : "A reference to an application-usable description of the identity that is represented by the signature.",
"comment" : "The party that can't sign. For example a child.",
"requirements" : "used when the signature is on behalf of a non-signer.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Signature.onBehalfOf",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "Reference",
"targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Practitioner",
"http://hl7.org/fhir/StructureDefinition/PractitionerRole",
"http://hl7.org/fhir/StructureDefinition/RelatedPerson",
"http://hl7.org/fhir/StructureDefinition/Patient",
"http://hl7.org/fhir/StructureDefinition/Device",
"http://hl7.org/fhir/StructureDefinition/Organization"]
}],
"isModifier" : false,
"isSummary" : true
},
{
"id" : "Signature.targetFormat",
"path" : "Signature.targetFormat",
"short" : "The technical format of the signed resources",
"definition" : "A mime type that indicates the technical format of the target resources signed by the signature.",
"comment" : "\"xml\", \"json\" and \"ttl\" are allowed, which describe the simple encodings described in the specification (and imply appropriate bundle support). Otherwise, mime types are legal here.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Signature.targetFormat",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "code"
}],
"isModifier" : false,
"isSummary" : false,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "MimeType"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
"valueBoolean" : true
}],
"strength" : "required",
"description" : "The mime type of an attachment. Any valid mime type is allowed.",
"valueSet" : "http://hl7.org/fhir/ValueSet/mimetypes|4.0.0"
}
},
{
"id" : "Signature.sigFormat",
"path" : "Signature.sigFormat",
"short" : "The technical format of the signature",
"definition" : "A mime type that indicates the technical format of the signature. Important mime types are application/signature+xml for X ML DigSig, application/jose for JWS, and image/* for a graphical image of a signature, etc.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Signature.sigFormat",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "code"
}],
"isModifier" : false,
"isSummary" : false,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "MimeType"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
"valueBoolean" : true
}],
"strength" : "required",
"description" : "The mime type of an attachment. Any valid mime type is allowed.",
"valueSet" : "http://hl7.org/fhir/ValueSet/mimetypes|4.0.0"
}
},
{
"id" : "Signature.data",
"path" : "Signature.data",
"short" : "The actual signature content (XML DigSig. JWS, picture, etc.)",
"definition" : "The base64 encoding of the Signature content. When signature is not recorded electronically this element would be empty.",
"comment" : "Where the signature type is an XML DigSig, the signed content is a FHIR Resource(s), the signature is of the XML form of the Resource(s) using XML-Signature (XMLDIG) \"Detached Signature\" form.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Signature.data",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "base64Binary"
}],
"isModifier" : false,
"isSummary" : false
}]
},
"differential" : {
"element" : [{
"id" : "Signature",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "trial-use"
}],
"path" : "Signature",
"short" : "A Signature - XML DigSig, JWS, Graphical image of signature, etc.",
"definition" : "A signature along with supporting context. The signature may be a digital signature that is cryptographic in nature, or some other signature acceptable to the domain. This other signature may be as simple as a graphical image representing a hand-written signature, or a signature ceremony Different signature approaches have different utilities.",
"comment" : "The elements of the Signature Resource are for ease of access of these elements. For digital signatures (Xml DigSig, JWS), the non-repudiation proof comes from the Signature validation, which includes validation of the referenced objects (e.g. Resources) (a.k.a., Content) in the XML-Signature Detached form.",
"min" : 0,
"max" : "*",
"mapping" : [{
"identity" : "rim",
"map" : "N/A"
}]
},
{
"id" : "Signature.type",
"path" : "Signature.type",
"short" : "Indication of the reason the entity signed the object(s)",
"definition" : "An indication of the reason that the entity signed this document. This may be explicitly included as part of the signature information and can be used when determining accountability for various actions concerning the document.",
"comment" : "Examples include attesting to: authorship, correct transcription, and witness of specific event. Also known as a "Commitment Type Indication".",
"min" : 1,
"max" : "*",
"type" : [{
"code" : "Coding"
}],
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "SignatureType"
}],
"strength" : "preferred",
"description" : "An indication of the reason that an entity signed the object.",
"valueSet" : "http://hl7.org/fhir/ValueSet/signature-type"
}
},
{
"id" : "Signature.when",
"path" : "Signature.when",
"short" : "When the signature was created",
"definition" : "When the digital signature was signed.",
"comment" : "This should agree with the information in the signature.",
"min" : 1,
"max" : "1",
"type" : [{
"code" : "instant"
}],
"isSummary" : true
},
{
"id" : "Signature.who",
"path" : "Signature.who",
"short" : "Who signed",
"definition" : "A reference to an application-usable description of the identity that signed (e.g. the signature used their private key).",
"comment" : "This should agree with the information in the signature.",
"min" : 1,
"max" : "1",
"type" : [{
"code" : "Reference",
"targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Practitioner",
"http://hl7.org/fhir/StructureDefinition/PractitionerRole",
"http://hl7.org/fhir/StructureDefinition/RelatedPerson",
"http://hl7.org/fhir/StructureDefinition/Patient",
"http://hl7.org/fhir/StructureDefinition/Device",
"http://hl7.org/fhir/StructureDefinition/Organization"]
}],
"isSummary" : true
},
{
"id" : "Signature.onBehalfOf",
"path" : "Signature.onBehalfOf",
"short" : "The party represented",
"definition" : "A reference to an application-usable description of the identity that is represented by the signature.",
"comment" : "The party that can't sign. For example a child.",
"requirements" : "used when the signature is on behalf of a non-signer.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "Reference",
"targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Practitioner",
"http://hl7.org/fhir/StructureDefinition/PractitionerRole",
"http://hl7.org/fhir/StructureDefinition/RelatedPerson",
"http://hl7.org/fhir/StructureDefinition/Patient",
"http://hl7.org/fhir/StructureDefinition/Device",
"http://hl7.org/fhir/StructureDefinition/Organization"]
}],
"isSummary" : true
},
{
"id" : "Signature.targetFormat",
"path" : "Signature.targetFormat",
"short" : "The technical format of the signed resources",
"definition" : "A mime type that indicates the technical format of the target resources signed by the signature.",
"comment" : "\"xml\", \"json\" and \"ttl\" are allowed, which describe the simple encodings described in the specification (and imply appropriate bundle support). Otherwise, mime types are legal here.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "code"
}],
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "MimeType"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
"valueBoolean" : true
}],
"strength" : "required",
"description" : "The mime type of an attachment. Any valid mime type is allowed.",
"valueSet" : "http://hl7.org/fhir/ValueSet/mimetypes|4.0.0"
}
},
{
"id" : "Signature.sigFormat",
"path" : "Signature.sigFormat",
"short" : "The technical format of the signature",
"definition" : "A mime type that indicates the technical format of the signature. Important mime types are application/signature+xml for X ML DigSig, application/jose for JWS, and image/* for a graphical image of a signature, etc.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "code"
}],
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "MimeType"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
"valueBoolean" : true
}],
"strength" : "required",
"description" : "The mime type of an attachment. Any valid mime type is allowed.",
"valueSet" : "http://hl7.org/fhir/ValueSet/mimetypes|4.0.0"
}
},
{
"id" : "Signature.data",
"path" : "Signature.data",
"short" : "The actual signature content (XML DigSig. JWS, picture, etc.)",
"definition" : "The base64 encoding of the Signature content. When signature is not recorded electronically this element would be empty.",
"comment" : "Where the signature type is an XML DigSig, the signed content is a FHIR Resource(s), the signature is of the XML form of the Resource(s) using XML-Signature (XMLDIG) \"Detached Signature\" form.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "base64Binary"
}]
}]
}
}
},
{
"fullUrl" : "http://hl7.org/fhir/StructureDefinition/SubstanceAmount",
"resource" : {
"resourceType" : "StructureDefinition",
"id" : "SubstanceAmount",
"meta" : {
"lastUpdated" : "2018-12-27T22:37:54.724+11:00"
},
"text" : {
"status" : "generated",
"div" : "
Chemical substances are a single substance type whose primary defining element is the molecular structure. Chemical substances shall be defined on the basis of their complete covalent molecular structure; the presence of a salt (counter-ion) and/or solvates (water, alcohols) is also captured. Purity, grade, physical form or particle size are not taken into account in the definition of a chemical substance or in the assignment of a Substance ID Elements defined in Ancestors: id, extension, modifierExtension
Used to capture quantitative values for a variety of elements. If only limits are given, the arithmetic mean would be the average. If only a single definite value for a given element is given, it would be captured in this field
Most elements that require a quantitative value will also have a field called amount type. Amount type should always be specified because the actual value of the amount is often dependent on it. EXAMPLE: In capturing the actual relative amounts of substances or molecular fragments it is essential to indicate whether the amount refers to a mole ratio or weight ratio. For any given element an effort should be made to use same the amount type for all related definitional elements
"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "draft"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/SubstanceAmount",
"version" : "4.0.0",
"name" : "SubstanceAmount",
"status" : "draft",
"date" : "2018-12-27T22:37:54+11:00",
"publisher" : "HL7 FHIR Standard",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
}]
}],
"description" : "Base StructureDefinition for SubstanceAmount Type: Chemical substances are a single substance type whose primary defining element is the molecular structure. Chemical substances shall be defined on the basis of their complete covalent molecular structure; the presence of a salt (counter-ion) and/or solvates (water, alcohols) is also captured. Purity, grade, physical form or particle size are not taken into account in the definition of a chemical substance or in the assignment of a Substance ID.",
"fhirVersion" : "4.0.0",
"mapping" : [{
"identity" : "rim",
"uri" : "http://hl7.org/v3",
"name" : "RIM Mapping"
}],
"kind" : "complex-type",
"abstract" : false,
"type" : "SubstanceAmount",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/BackboneElement",
"derivation" : "specialization",
"snapshot" : {
"element" : [{
"id" : "SubstanceAmount",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "draft"
}],
"path" : "SubstanceAmount",
"short" : "Chemical substances are a single substance type whose primary defining element is the molecular structure. Chemical substances shall be defined on the basis of their complete covalent molecular structure; the presence of a salt (counter-ion) and/or solvates (water, alcohols) is also captured. Purity, grade, physical form or particle size are not taken into account in the definition of a chemical substance or in the assignment of a Substance ID",
"definition" : "Chemical substances are a single substance type whose primary defining element is the molecular structure. Chemical substances shall be defined on the basis of their complete covalent molecular structure; the presence of a salt (counter-ion) and/or solvates (water, alcohols) is also captured. Purity, grade, physical form or particle size are not taken into account in the definition of a chemical substance or in the assignment of a Substance ID.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "SubstanceAmount",
"min" : 0,
"max" : "*"
},
"isModifier" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "SubstanceAmount.id",
"path" : "SubstanceAmount.id",
"representation" : ["xmlAttr"],
"short" : "Unique id for inter-element referencing",
"definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "SubstanceAmount.extension",
"path" : "SubstanceAmount.extension",
"slicing" : {
"discriminator" : [{
"type" : "value",
"path" : "url"
}],
"description" : "Extensions are always sliced by (at least) url",
"rules" : "open"
},
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "SubstanceAmount.modifierExtension",
"path" : "SubstanceAmount.modifierExtension",
"short" : "Extensions that cannot be ignored even if unrecognized",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).",
"alias" : ["extensions",
"user content",
"modifiers"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "BackboneElement.modifierExtension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : true,
"isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A"
}]
},
{
"id" : "SubstanceAmount.amount[x]",
"path" : "SubstanceAmount.amount[x]",
"short" : "Used to capture quantitative values for a variety of elements. If only limits are given, the arithmetic mean would be the average. If only a single definite value for a given element is given, it would be captured in this field",
"definition" : "Used to capture quantitative values for a variety of elements. If only limits are given, the arithmetic mean would be the average. If only a single definite value for a given element is given, it would be captured in this field.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "SubstanceAmount.amount[x]",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "Quantity"
},
{
"code" : "Range"
},
{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : true
},
{
"id" : "SubstanceAmount.amountType",
"path" : "SubstanceAmount.amountType",
"short" : "Most elements that require a quantitative value will also have a field called amount type. Amount type should always be specified because the actual value of the amount is often dependent on it. EXAMPLE: In capturing the actual relative amounts of substances or molecular fragments it is essential to indicate whether the amount refers to a mole ratio or weight ratio. For any given element an effort should be made to use same the amount type for all related definitional elements",
"definition" : "Most elements that require a quantitative value will also have a field called amount type. Amount type should always be specified because the actual value of the amount is often dependent on it. EXAMPLE: In capturing the actual relative amounts of substances or molecular fragments it is essential to indicate whether the amount refers to a mole ratio or weight ratio. For any given element an effort should be made to use same the amount type for all related definitional elements.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "SubstanceAmount.amountType",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "CodeableConcept"
}],
"isModifier" : false,
"isSummary" : true
},
{
"id" : "SubstanceAmount.amountText",
"path" : "SubstanceAmount.amountText",
"short" : "A textual comment on a numeric value",
"definition" : "A textual comment on a numeric value.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "SubstanceAmount.amountText",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : true
},
{
"id" : "SubstanceAmount.referenceRange",
"path" : "SubstanceAmount.referenceRange",
"short" : "Reference range of possible or expected values",
"definition" : "Reference range of possible or expected values.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "SubstanceAmount.referenceRange",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "Element"
}],
"constraint" : [{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() or (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "Element"
}],
"isModifier" : false,
"isSummary" : true
},
{
"id" : "SubstanceAmount.referenceRange.id",
"path" : "SubstanceAmount.referenceRange.id",
"representation" : ["xmlAttr"],
"short" : "Unique id for inter-element referencing",
"definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "SubstanceAmount.referenceRange.extension",
"path" : "SubstanceAmount.referenceRange.extension",
"slicing" : {
"discriminator" : [{
"type" : "value",
"path" : "url"
}],
"description" : "Extensions are always sliced by (at least) url",
"rules" : "open"
},
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "SubstanceAmount.referenceRange.lowLimit",
"path" : "SubstanceAmount.referenceRange.lowLimit",
"short" : "Lower limit possible or expected",
"definition" : "Lower limit possible or expected.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "SubstanceAmount.referenceRange.lowLimit",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "Quantity"
}],
"isModifier" : false,
"isSummary" : true
},
{
"id" : "SubstanceAmount.referenceRange.highLimit",
"path" : "SubstanceAmount.referenceRange.highLimit",
"short" : "Upper limit possible or expected",
"definition" : "Upper limit possible or expected.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "SubstanceAmount.referenceRange.highLimit",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "Quantity"
}],
"isModifier" : false,
"isSummary" : true
}]
},
"differential" : {
"element" : [{
"id" : "SubstanceAmount",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "draft"
}],
"path" : "SubstanceAmount",
"short" : "Chemical substances are a single substance type whose primary defining element is the molecular structure. Chemical substances shall be defined on the basis of their complete covalent molecular structure; the presence of a salt (counter-ion) and/or solvates (water, alcohols) is also captured. Purity, grade, physical form or particle size are not taken into account in the definition of a chemical substance or in the assignment of a Substance ID",
"definition" : "Chemical substances are a single substance type whose primary defining element is the molecular structure. Chemical substances shall be defined on the basis of their complete covalent molecular structure; the presence of a salt (counter-ion) and/or solvates (water, alcohols) is also captured. Purity, grade, physical form or particle size are not taken into account in the definition of a chemical substance or in the assignment of a Substance ID.",
"min" : 0,
"max" : "*"
},
{
"id" : "SubstanceAmount.amount[x]",
"path" : "SubstanceAmount.amount[x]",
"short" : "Used to capture quantitative values for a variety of elements. If only limits are given, the arithmetic mean would be the average. If only a single definite value for a given element is given, it would be captured in this field",
"definition" : "Used to capture quantitative values for a variety of elements. If only limits are given, the arithmetic mean would be the average. If only a single definite value for a given element is given, it would be captured in this field.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "Quantity"
},
{
"code" : "Range"
},
{
"code" : "string"
}],
"isSummary" : true
},
{
"id" : "SubstanceAmount.amountType",
"path" : "SubstanceAmount.amountType",
"short" : "Most elements that require a quantitative value will also have a field called amount type. Amount type should always be specified because the actual value of the amount is often dependent on it. EXAMPLE: In capturing the actual relative amounts of substances or molecular fragments it is essential to indicate whether the amount refers to a mole ratio or weight ratio. For any given element an effort should be made to use same the amount type for all related definitional elements",
"definition" : "Most elements that require a quantitative value will also have a field called amount type. Amount type should always be specified because the actual value of the amount is often dependent on it. EXAMPLE: In capturing the actual relative amounts of substances or molecular fragments it is essential to indicate whether the amount refers to a mole ratio or weight ratio. For any given element an effort should be made to use same the amount type for all related definitional elements.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "CodeableConcept"
}],
"isSummary" : true
},
{
"id" : "SubstanceAmount.amountText",
"path" : "SubstanceAmount.amountText",
"short" : "A textual comment on a numeric value",
"definition" : "A textual comment on a numeric value.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "string"
}],
"isSummary" : true
},
{
"id" : "SubstanceAmount.referenceRange",
"path" : "SubstanceAmount.referenceRange",
"short" : "Reference range of possible or expected values",
"definition" : "Reference range of possible or expected values.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "Element"
}],
"isSummary" : true
},
{
"id" : "SubstanceAmount.referenceRange.lowLimit",
"path" : "SubstanceAmount.referenceRange.lowLimit",
"short" : "Lower limit possible or expected",
"definition" : "Lower limit possible or expected.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "Quantity"
}],
"isSummary" : true
},
{
"id" : "SubstanceAmount.referenceRange.highLimit",
"path" : "SubstanceAmount.referenceRange.highLimit",
"short" : "Upper limit possible or expected",
"definition" : "Upper limit possible or expected.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "Quantity"
}],
"isSummary" : true
}]
}
}
},
{
"fullUrl" : "http://hl7.org/fhir/StructureDefinition/Timing",
"resource" : {
"resourceType" : "StructureDefinition",
"id" : "Timing",
"meta" : {
"lastUpdated" : "2018-12-27T22:37:54.724+11:00"
},
"text" : {
"status" : "generated",
"div" : "
When the event is to occur + Rule: if there's a duration, there needs to be duration units + Rule: if there's a period, there needs to be period units + Rule: duration SHALL be a non-negative value + Rule: period SHALL be a non-negative value + Rule: If there's a periodMax, there must be a period + Rule: If there's a durationMax, there must be a duration + Rule: If there's a countMax, there must be a count + Rule: If there's an offset, there must be a when (and not C, CM, CD, CV) + Rule: If there's a timeOfDay, there cannot be a when, or vice versa
"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/Timing",
"version" : "4.0.0",
"name" : "Timing",
"status" : "active",
"date" : "2018-12-27T22:37:54+11:00",
"publisher" : "HL7 FHIR Standard",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
}]
}],
"description" : "Base StructureDefinition for Timing Type: Specifies an event that may occur multiple times. Timing schedules are used to record when things are planned, expected or requested to occur. The most common usage is in dosage instructions for medications. They are also used when planning care of various kinds, and may be used for reporting the schedule to which past regular activities were carried out.",
"purpose" : "Need to able to track proposed timing schedules. There are several different ways to do this: one or more specified times, a simple rules like three times a day, or before/after meals.",
"fhirVersion" : "4.0.0",
"mapping" : [{
"identity" : "v2",
"uri" : "http://hl7.org/v2",
"name" : "HL7 v2 Mapping"
},
{
"identity" : "rim",
"uri" : "http://hl7.org/v3",
"name" : "RIM Mapping"
}],
"kind" : "complex-type",
"abstract" : false,
"type" : "Timing",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/BackboneElement",
"derivation" : "specialization",
"snapshot" : {
"element" : [{
"id" : "Timing",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"path" : "Timing",
"short" : "A timing schedule that specifies an event that may occur multiple times",
"definition" : "Specifies an event that may occur multiple times. Timing schedules are used to record when things are planned, expected or requested to occur. The most common usage is in dosage instructions for medications. They are also used when planning care of various kinds, and may be used for reporting the schedule to which past regular activities were carried out.",
"comment" : "Describes the occurrence of an event that may occur multiple times. Timing schedules are used for specifying when events are expected or requested to occur, and may also be used to represent the summary of a past or ongoing event. For simplicity, the definitions of Timing components are expressed as 'future' events, but such components can also be used to describe historic or ongoing events.\n\nA Timing schedule can be a list of events and/or criteria for when the event happens, which can be expressed in a structured form and/or as a code. When both event and a repeating specification are provided, the list of events should be understood as an interpretation of the information in the repeat structure.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "Timing",
"min" : 0,
"max" : "*"
},
"isModifier" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
},
{
"identity" : "v2",
"map" : "N/A"
},
{
"identity" : "rim",
"map" : "QSET (GTS)"
}]
},
{
"id" : "Timing.id",
"path" : "Timing.id",
"representation" : ["xmlAttr"],
"short" : "Unique id for inter-element referencing",
"definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "Timing.extension",
"path" : "Timing.extension",
"slicing" : {
"discriminator" : [{
"type" : "value",
"path" : "url"
}],
"description" : "Extensions are always sliced by (at least) url",
"rules" : "open"
},
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "Timing.modifierExtension",
"path" : "Timing.modifierExtension",
"short" : "Extensions that cannot be ignored even if unrecognized",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).",
"alias" : ["extensions",
"user content",
"modifiers"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "BackboneElement.modifierExtension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : true,
"isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "N/A"
}]
},
{
"id" : "Timing.event",
"path" : "Timing.event",
"short" : "When the event occurs",
"definition" : "Identifies specific times when the event occurs.",
"requirements" : "In a Medication Administration Record, for instance, you need to take a general specification, and turn it into a precise specification.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "Timing.event",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "dateTime"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "QLIST"
}]
},
{
"id" : "Timing.repeat",
"path" : "Timing.repeat",
"short" : "When the event is to occur",
"definition" : "A set of rules that describe when the event is scheduled.",
"requirements" : "Many timing schedules are determined by regular repetitions.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Timing.repeat",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "Element"
}],
"constraint" : [{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() or (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "Element"
},
{
"key" : "tim-9",
"severity" : "error",
"human" : "If there's an offset, there must be a when (and not C, CM, CD, CV)",
"expression" : "offset.empty() or (when.exists() and ((when in ('C' | 'CM' | 'CD' | 'CV')).not()))",
"xpath" : "not(exists(f:offset)) or exists(f:when)"
},
{
"key" : "tim-5",
"severity" : "error",
"human" : "period SHALL be a non-negative value",
"expression" : "period.exists() implies period >= 0",
"xpath" : "f:period/@value >= 0 or not(f:period/@value)"
},
{
"key" : "tim-6",
"severity" : "error",
"human" : "If there's a periodMax, there must be a period",
"expression" : "periodMax.empty() or period.exists()",
"xpath" : "not(exists(f:periodMax)) or exists(f:period)"
},
{
"key" : "tim-7",
"severity" : "error",
"human" : "If there's a durationMax, there must be a duration",
"expression" : "durationMax.empty() or duration.exists()",
"xpath" : "not(exists(f:durationMax)) or exists(f:duration)"
},
{
"key" : "tim-8",
"severity" : "error",
"human" : "If there's a countMax, there must be a count",
"expression" : "countMax.empty() or count.exists()",
"xpath" : "not(exists(f:countMax)) or exists(f:count)"
},
{
"key" : "tim-1",
"severity" : "error",
"human" : "if there's a duration, there needs to be duration units",
"expression" : "duration.empty() or durationUnit.exists()",
"xpath" : "not(exists(f:duration)) or exists(f:durationUnit)"
},
{
"key" : "tim-10",
"severity" : "error",
"human" : "If there's a timeOfDay, there cannot be a when, or vice versa",
"expression" : "timeOfDay.empty() or when.empty()",
"xpath" : "not(exists(f:timeOfDay)) or not(exists(f:when))"
},
{
"key" : "tim-2",
"severity" : "error",
"human" : "if there's a period, there needs to be period units",
"expression" : "period.empty() or periodUnit.exists()",
"xpath" : "not(exists(f:period)) or exists(f:periodUnit)"
},
{
"key" : "tim-4",
"severity" : "error",
"human" : "duration SHALL be a non-negative value",
"expression" : "duration.exists() implies duration >= 0",
"xpath" : "f:duration/@value >= 0 or not(f:duration/@value)"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "Implies PIVL or EIVL"
}]
},
{
"id" : "Timing.repeat.id",
"path" : "Timing.repeat.id",
"representation" : ["xmlAttr"],
"short" : "Unique id for inter-element referencing",
"definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "Timing.repeat.extension",
"path" : "Timing.repeat.extension",
"slicing" : {
"discriminator" : [{
"type" : "value",
"path" : "url"
}],
"description" : "Extensions are always sliced by (at least) url",
"rules" : "open"
},
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "Timing.repeat.bounds[x]",
"path" : "Timing.repeat.bounds[x]",
"short" : "Length/Range of lengths, or (Start and/or end) limits",
"definition" : "Either a duration for the length of the timing schedule, a range of possible length, or outer bounds for start and/or end limits of the timing schedule.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Timing.repeat.bounds[x]",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "Duration"
},
{
"code" : "Range"
},
{
"code" : "Period"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "IVL(TS) used in a QSI"
}]
},
{
"id" : "Timing.repeat.count",
"path" : "Timing.repeat.count",
"short" : "Number of times to repeat",
"definition" : "A total count of the desired number of repetitions across the duration of the entire timing specification. If countMax is present, this element indicates the lower bound of the allowed range of count values.",
"comment" : "If you have both bounds and count, then this should be understood as within the bounds period, until count times happens.",
"requirements" : "Repetitions may be limited by end time or total occurrences.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Timing.repeat.count",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "positiveInt"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "PIVL.count"
}]
},
{
"id" : "Timing.repeat.countMax",
"path" : "Timing.repeat.countMax",
"short" : "Maximum number of times to repeat",
"definition" : "If present, indicates that the count is a range - so to perform the action between [count] and [countMax] times.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Timing.repeat.countMax",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "positiveInt"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "PIVL.count"
}]
},
{
"id" : "Timing.repeat.duration",
"path" : "Timing.repeat.duration",
"short" : "How long when it happens",
"definition" : "How long this thing happens for when it happens. If durationMax is present, this element indicates the lower bound of the allowed range of the duration.",
"comment" : "For some events the duration is part of the definition of the event (e.g. IV infusions, where the duration is implicit in the specified quantity and rate). For others, it's part of the timing specification (e.g. exercise).",
"requirements" : "Some activities are not instantaneous and need to be maintained for a period of time.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Timing.repeat.duration",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "decimal"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "PIVL.phase"
}]
},
{
"id" : "Timing.repeat.durationMax",
"path" : "Timing.repeat.durationMax",
"short" : "How long when it happens (Max)",
"definition" : "If present, indicates that the duration is a range - so to perform the action between [duration] and [durationMax] time length.",
"comment" : "For some events the duration is part of the definition of the event (e.g. IV infusions, where the duration is implicit in the specified quantity and rate). For others, it's part of the timing specification (e.g. exercise).",
"requirements" : "Some activities are not instantaneous and need to be maintained for a period of time.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Timing.repeat.durationMax",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "decimal"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "PIVL.phase"
}]
},
{
"id" : "Timing.repeat.durationUnit",
"path" : "Timing.repeat.durationUnit",
"short" : "s | min | h | d | wk | mo | a - unit of time (UCUM)",
"definition" : "The units of time for the duration, in UCUM units.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Timing.repeat.durationUnit",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "code"
}],
"isModifier" : false,
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "UnitsOfTime"
}],
"strength" : "required",
"description" : "A unit of time (units from UCUM).",
"valueSet" : "http://hl7.org/fhir/ValueSet/units-of-time|4.0.0"
},
"mapping" : [{
"identity" : "rim",
"map" : "PIVL.phase.unit"
}]
},
{
"id" : "Timing.repeat.frequency",
"path" : "Timing.repeat.frequency",
"short" : "Event occurs frequency times per period",
"definition" : "The number of times to repeat the action within the specified period. If frequencyMax is present, this element indicates the lower bound of the allowed range of the frequency.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Timing.repeat.frequency",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "positiveInt"
}],
"meaningWhenMissing" : "If no frequency is stated, the assumption is that the event occurs once per period, but systems SHOULD always be specific about this",
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "PIVL.phase"
}]
},
{
"id" : "Timing.repeat.frequencyMax",
"path" : "Timing.repeat.frequencyMax",
"short" : "Event occurs up to frequencyMax times per period",
"definition" : "If present, indicates that the frequency is a range - so to repeat between [frequency] and [frequencyMax] times within the period or period range.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Timing.repeat.frequencyMax",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "positiveInt"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "PIVL.phase"
}]
},
{
"id" : "Timing.repeat.period",
"path" : "Timing.repeat.period",
"short" : "Event occurs frequency times per period",
"definition" : "Indicates the duration of time over which repetitions are to occur; e.g. to express \"3 times per day\", 3 would be the frequency and \"1 day\" would be the period. If periodMax is present, this element indicates the lower bound of the allowed range of the period length.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Timing.repeat.period",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "decimal"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "PIVL.phase"
}]
},
{
"id" : "Timing.repeat.periodMax",
"path" : "Timing.repeat.periodMax",
"short" : "Upper limit of period (3-4 hours)",
"definition" : "If present, indicates that the period is a range from [period] to [periodMax], allowing expressing concepts such as \"do this once every 3-5 days.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Timing.repeat.periodMax",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "decimal"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "PIVL.phase"
}]
},
{
"id" : "Timing.repeat.periodUnit",
"path" : "Timing.repeat.periodUnit",
"short" : "s | min | h | d | wk | mo | a - unit of time (UCUM)",
"definition" : "The units of time for the period in UCUM units.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Timing.repeat.periodUnit",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "code"
}],
"isModifier" : false,
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "UnitsOfTime"
}],
"strength" : "required",
"description" : "A unit of time (units from UCUM).",
"valueSet" : "http://hl7.org/fhir/ValueSet/units-of-time|4.0.0"
},
"mapping" : [{
"identity" : "rim",
"map" : "PIVL.phase.unit"
}]
},
{
"id" : "Timing.repeat.dayOfWeek",
"path" : "Timing.repeat.dayOfWeek",
"short" : "mon | tue | wed | thu | fri | sat | sun",
"definition" : "If one or more days of week is provided, then the action happens only on the specified day(s).",
"comment" : "If no days are specified, the action is assumed to happen every day as otherwise specified. The elements frequency and period cannot be used as well as dayOfWeek.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "Timing.repeat.dayOfWeek",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "code"
}],
"isModifier" : false,
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "DayOfWeek"
}],
"strength" : "required",
"valueSet" : "http://hl7.org/fhir/ValueSet/days-of-week|4.0.0"
},
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "Timing.repeat.timeOfDay",
"path" : "Timing.repeat.timeOfDay",
"short" : "Time of day for action",
"definition" : "Specified time of day for action to take place.",
"comment" : "When time of day is specified, it is inferred that the action happens every day (as filtered by dayofWeek) on the specified times. The elements when, frequency and period cannot be used as well as timeOfDay.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "Timing.repeat.timeOfDay",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "time"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "Timing.repeat.when",
"path" : "Timing.repeat.when",
"short" : "Code for time period of occurrence",
"definition" : "An approximate time period during the day, potentially linked to an event of daily living that indicates when the action should occur.",
"comment" : "When more than one event is listed, the event is tied to the union of the specified events.",
"requirements" : "Timings are frequently determined by occurrences such as waking, eating and sleep.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "Timing.repeat.when",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "code"
}],
"isModifier" : false,
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "EventTiming"
}],
"strength" : "required",
"description" : "Real world event relating to the schedule.",
"valueSet" : "http://hl7.org/fhir/ValueSet/event-timing|4.0.0"
},
"mapping" : [{
"identity" : "rim",
"map" : "EIVL.event"
}]
},
{
"id" : "Timing.repeat.offset",
"path" : "Timing.repeat.offset",
"short" : "Minutes from event (before or after)",
"definition" : "The number of minutes from the event. If the event code does not indicate whether the minutes is before or after the event, then the offset is assumed to be after the event.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Timing.repeat.offset",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "unsignedInt"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "EIVL.offset"
}]
},
{
"id" : "Timing.code",
"path" : "Timing.code",
"short" : "BID | TID | QID | AM | PM | QD | QOD | +",
"definition" : "A code for the timing schedule (or just text in code.text). Some codes such as BID are ubiquitous, but many institutions define their own additional codes. If a code is provided, the code is understood to be a complete statement of whatever is specified in the structured timing data, and either the code or the data may be used to interpret the Timing, with the exception that .repeat.bounds still applies over the code (and is not contained in the code).",
"comment" : "BID etc. are defined as 'at institutionally specified times'. For example, an institution may choose that BID is \"always at 7am and 6pm\". If it is inappropriate for this choice to be made, the code BID should not be used. Instead, a distinct organization-specific code should be used in place of the HL7-defined BID code and/or a structured representation should be used (in this case, specifying the two event times).",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Timing.code",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "CodeableConcept"
}],
"isModifier" : false,
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "TimingAbbreviation"
}],
"strength" : "preferred",
"description" : "Code for a known / defined timing pattern.",
"valueSet" : "http://hl7.org/fhir/ValueSet/timing-abbreviation"
},
"mapping" : [{
"identity" : "rim",
"map" : "QSC.code"
}]
}]
},
"differential" : {
"element" : [{
"id" : "Timing",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"path" : "Timing",
"short" : "A timing schedule that specifies an event that may occur multiple times",
"definition" : "Specifies an event that may occur multiple times. Timing schedules are used to record when things are planned, expected or requested to occur. The most common usage is in dosage instructions for medications. They are also used when planning care of various kinds, and may be used for reporting the schedule to which past regular activities were carried out.",
"comment" : "Describes the occurrence of an event that may occur multiple times. Timing schedules are used for specifying when events are expected or requested to occur, and may also be used to represent the summary of a past or ongoing event. For simplicity, the definitions of Timing components are expressed as 'future' events, but such components can also be used to describe historic or ongoing events.\n\nA Timing schedule can be a list of events and/or criteria for when the event happens, which can be expressed in a structured form and/or as a code. When both event and a repeating specification are provided, the list of events should be understood as an interpretation of the information in the repeat structure.",
"min" : 0,
"max" : "*",
"mapping" : [{
"identity" : "v2",
"map" : "N/A"
},
{
"identity" : "rim",
"map" : "QSET (GTS)"
}]
},
{
"id" : "Timing.event",
"path" : "Timing.event",
"short" : "When the event occurs",
"definition" : "Identifies specific times when the event occurs.",
"requirements" : "In a Medication Administration Record, for instance, you need to take a general specification, and turn it into a precise specification.",
"min" : 0,
"max" : "*",
"type" : [{
"code" : "dateTime"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "QLIST"
}]
},
{
"id" : "Timing.repeat",
"path" : "Timing.repeat",
"short" : "When the event is to occur",
"definition" : "A set of rules that describe when the event is scheduled.",
"requirements" : "Many timing schedules are determined by regular repetitions.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "Element"
}],
"constraint" : [{
"key" : "tim-9",
"severity" : "error",
"human" : "If there's an offset, there must be a when (and not C, CM, CD, CV)",
"expression" : "offset.empty() or (when.exists() and ((when in ('C' | 'CM' | 'CD' | 'CV')).not()))",
"xpath" : "not(exists(f:offset)) or exists(f:when)"
},
{
"key" : "tim-5",
"severity" : "error",
"human" : "period SHALL be a non-negative value",
"expression" : "period.exists() implies period >= 0",
"xpath" : "f:period/@value >= 0 or not(f:period/@value)"
},
{
"key" : "tim-6",
"severity" : "error",
"human" : "If there's a periodMax, there must be a period",
"expression" : "periodMax.empty() or period.exists()",
"xpath" : "not(exists(f:periodMax)) or exists(f:period)"
},
{
"key" : "tim-7",
"severity" : "error",
"human" : "If there's a durationMax, there must be a duration",
"expression" : "durationMax.empty() or duration.exists()",
"xpath" : "not(exists(f:durationMax)) or exists(f:duration)"
},
{
"key" : "tim-8",
"severity" : "error",
"human" : "If there's a countMax, there must be a count",
"expression" : "countMax.empty() or count.exists()",
"xpath" : "not(exists(f:countMax)) or exists(f:count)"
},
{
"key" : "tim-1",
"severity" : "error",
"human" : "if there's a duration, there needs to be duration units",
"expression" : "duration.empty() or durationUnit.exists()",
"xpath" : "not(exists(f:duration)) or exists(f:durationUnit)"
},
{
"key" : "tim-10",
"severity" : "error",
"human" : "If there's a timeOfDay, there cannot be a when, or vice versa",
"expression" : "timeOfDay.empty() or when.empty()",
"xpath" : "not(exists(f:timeOfDay)) or not(exists(f:when))"
},
{
"key" : "tim-2",
"severity" : "error",
"human" : "if there's a period, there needs to be period units",
"expression" : "period.empty() or periodUnit.exists()",
"xpath" : "not(exists(f:period)) or exists(f:periodUnit)"
},
{
"key" : "tim-4",
"severity" : "error",
"human" : "duration SHALL be a non-negative value",
"expression" : "duration.exists() implies duration >= 0",
"xpath" : "f:duration/@value >= 0 or not(f:duration/@value)"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "Implies PIVL or EIVL"
}]
},
{
"id" : "Timing.repeat.bounds[x]",
"path" : "Timing.repeat.bounds[x]",
"short" : "Length/Range of lengths, or (Start and/or end) limits",
"definition" : "Either a duration for the length of the timing schedule, a range of possible length, or outer bounds for start and/or end limits of the timing schedule.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "Duration"
},
{
"code" : "Range"
},
{
"code" : "Period"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "IVL(TS) used in a QSI"
}]
},
{
"id" : "Timing.repeat.count",
"path" : "Timing.repeat.count",
"short" : "Number of times to repeat",
"definition" : "A total count of the desired number of repetitions across the duration of the entire timing specification. If countMax is present, this element indicates the lower bound of the allowed range of count values.",
"comment" : "If you have both bounds and count, then this should be understood as within the bounds period, until count times happens.",
"requirements" : "Repetitions may be limited by end time or total occurrences.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "positiveInt"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "PIVL.count"
}]
},
{
"id" : "Timing.repeat.countMax",
"path" : "Timing.repeat.countMax",
"short" : "Maximum number of times to repeat",
"definition" : "If present, indicates that the count is a range - so to perform the action between [count] and [countMax] times.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "positiveInt"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "PIVL.count"
}]
},
{
"id" : "Timing.repeat.duration",
"path" : "Timing.repeat.duration",
"short" : "How long when it happens",
"definition" : "How long this thing happens for when it happens. If durationMax is present, this element indicates the lower bound of the allowed range of the duration.",
"comment" : "For some events the duration is part of the definition of the event (e.g. IV infusions, where the duration is implicit in the specified quantity and rate). For others, it's part of the timing specification (e.g. exercise).",
"requirements" : "Some activities are not instantaneous and need to be maintained for a period of time.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "decimal"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "PIVL.phase"
}]
},
{
"id" : "Timing.repeat.durationMax",
"path" : "Timing.repeat.durationMax",
"short" : "How long when it happens (Max)",
"definition" : "If present, indicates that the duration is a range - so to perform the action between [duration] and [durationMax] time length.",
"comment" : "For some events the duration is part of the definition of the event (e.g. IV infusions, where the duration is implicit in the specified quantity and rate). For others, it's part of the timing specification (e.g. exercise).",
"requirements" : "Some activities are not instantaneous and need to be maintained for a period of time.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "decimal"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "PIVL.phase"
}]
},
{
"id" : "Timing.repeat.durationUnit",
"path" : "Timing.repeat.durationUnit",
"short" : "s | min | h | d | wk | mo | a - unit of time (UCUM)",
"definition" : "The units of time for the duration, in UCUM units.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "code"
}],
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "UnitsOfTime"
}],
"strength" : "required",
"description" : "A unit of time (units from UCUM).",
"valueSet" : "http://hl7.org/fhir/ValueSet/units-of-time|4.0.0"
},
"mapping" : [{
"identity" : "rim",
"map" : "PIVL.phase.unit"
}]
},
{
"id" : "Timing.repeat.frequency",
"path" : "Timing.repeat.frequency",
"short" : "Event occurs frequency times per period",
"definition" : "The number of times to repeat the action within the specified period. If frequencyMax is present, this element indicates the lower bound of the allowed range of the frequency.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "positiveInt"
}],
"meaningWhenMissing" : "If no frequency is stated, the assumption is that the event occurs once per period, but systems SHOULD always be specific about this",
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "PIVL.phase"
}]
},
{
"id" : "Timing.repeat.frequencyMax",
"path" : "Timing.repeat.frequencyMax",
"short" : "Event occurs up to frequencyMax times per period",
"definition" : "If present, indicates that the frequency is a range - so to repeat between [frequency] and [frequencyMax] times within the period or period range.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "positiveInt"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "PIVL.phase"
}]
},
{
"id" : "Timing.repeat.period",
"path" : "Timing.repeat.period",
"short" : "Event occurs frequency times per period",
"definition" : "Indicates the duration of time over which repetitions are to occur; e.g. to express \"3 times per day\", 3 would be the frequency and \"1 day\" would be the period. If periodMax is present, this element indicates the lower bound of the allowed range of the period length.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "decimal"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "PIVL.phase"
}]
},
{
"id" : "Timing.repeat.periodMax",
"path" : "Timing.repeat.periodMax",
"short" : "Upper limit of period (3-4 hours)",
"definition" : "If present, indicates that the period is a range from [period] to [periodMax], allowing expressing concepts such as \"do this once every 3-5 days.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "decimal"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "PIVL.phase"
}]
},
{
"id" : "Timing.repeat.periodUnit",
"path" : "Timing.repeat.periodUnit",
"short" : "s | min | h | d | wk | mo | a - unit of time (UCUM)",
"definition" : "The units of time for the period in UCUM units.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "code"
}],
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "UnitsOfTime"
}],
"strength" : "required",
"description" : "A unit of time (units from UCUM).",
"valueSet" : "http://hl7.org/fhir/ValueSet/units-of-time|4.0.0"
},
"mapping" : [{
"identity" : "rim",
"map" : "PIVL.phase.unit"
}]
},
{
"id" : "Timing.repeat.dayOfWeek",
"path" : "Timing.repeat.dayOfWeek",
"short" : "mon | tue | wed | thu | fri | sat | sun",
"definition" : "If one or more days of week is provided, then the action happens only on the specified day(s).",
"comment" : "If no days are specified, the action is assumed to happen every day as otherwise specified. The elements frequency and period cannot be used as well as dayOfWeek.",
"min" : 0,
"max" : "*",
"type" : [{
"code" : "code"
}],
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "DayOfWeek"
}],
"strength" : "required",
"valueSet" : "http://hl7.org/fhir/ValueSet/days-of-week|4.0.0"
},
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "Timing.repeat.timeOfDay",
"path" : "Timing.repeat.timeOfDay",
"short" : "Time of day for action",
"definition" : "Specified time of day for action to take place.",
"comment" : "When time of day is specified, it is inferred that the action happens every day (as filtered by dayofWeek) on the specified times. The elements when, frequency and period cannot be used as well as timeOfDay.",
"min" : 0,
"max" : "*",
"type" : [{
"code" : "time"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "Timing.repeat.when",
"path" : "Timing.repeat.when",
"short" : "Code for time period of occurrence",
"definition" : "An approximate time period during the day, potentially linked to an event of daily living that indicates when the action should occur.",
"comment" : "When more than one event is listed, the event is tied to the union of the specified events.",
"requirements" : "Timings are frequently determined by occurrences such as waking, eating and sleep.",
"min" : 0,
"max" : "*",
"type" : [{
"code" : "code"
}],
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "EventTiming"
}],
"strength" : "required",
"description" : "Real world event relating to the schedule.",
"valueSet" : "http://hl7.org/fhir/ValueSet/event-timing|4.0.0"
},
"mapping" : [{
"identity" : "rim",
"map" : "EIVL.event"
}]
},
{
"id" : "Timing.repeat.offset",
"path" : "Timing.repeat.offset",
"short" : "Minutes from event (before or after)",
"definition" : "The number of minutes from the event. If the event code does not indicate whether the minutes is before or after the event, then the offset is assumed to be after the event.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "unsignedInt"
}],
"isSummary" : true,
"mapping" : [{
"identity" : "rim",
"map" : "EIVL.offset"
}]
},
{
"id" : "Timing.code",
"path" : "Timing.code",
"short" : "BID | TID | QID | AM | PM | QD | QOD | +",
"definition" : "A code for the timing schedule (or just text in code.text). Some codes such as BID are ubiquitous, but many institutions define their own additional codes. If a code is provided, the code is understood to be a complete statement of whatever is specified in the structured timing data, and either the code or the data may be used to interpret the Timing, with the exception that .repeat.bounds still applies over the code (and is not contained in the code).",
"comment" : "BID etc. are defined as 'at institutionally specified times'. For example, an institution may choose that BID is \"always at 7am and 6pm\". If it is inappropriate for this choice to be made, the code BID should not be used. Instead, a distinct organization-specific code should be used in place of the HL7-defined BID code and/or a structured representation should be used (in this case, specifying the two event times).",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "CodeableConcept"
}],
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "TimingAbbreviation"
}],
"strength" : "preferred",
"description" : "Code for a known / defined timing pattern.",
"valueSet" : "http://hl7.org/fhir/ValueSet/timing-abbreviation"
},
"mapping" : [{
"identity" : "rim",
"map" : "QSC.code"
}]
}]
}
}
},
{
"fullUrl" : "http://hl7.org/fhir/StructureDefinition/TriggerDefinition",
"resource" : {
"resourceType" : "StructureDefinition",
"id" : "TriggerDefinition",
"meta" : {
"lastUpdated" : "2018-12-27T22:37:54.724+11:00"
},
"text" : {
"status" : "generated",
"div" : "
Defines an expected trigger for a module + Rule: Either timing, or a data requirement, but not both + Rule: A condition only if there is a data requirement + Rule: A named event requires a name, a periodic event requires timing, and a data event requires data Elements defined in Ancestors: id, extension
"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "trial-use"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/TriggerDefinition",
"version" : "4.0.0",
"name" : "TriggerDefinition",
"status" : "draft",
"date" : "2018-12-27T22:37:54+11:00",
"publisher" : "HL7 FHIR Standard",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
}]
}],
"description" : "Base StructureDefinition for TriggerDefinition Type: A description of a triggering event. Triggering events can be named events, data events, or periodic, as determined by the type element.",
"fhirVersion" : "4.0.0",
"mapping" : [{
"identity" : "rim",
"uri" : "http://hl7.org/v3",
"name" : "RIM Mapping"
}],
"kind" : "complex-type",
"abstract" : false,
"type" : "TriggerDefinition",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Element",
"derivation" : "specialization",
"snapshot" : {
"element" : [{
"id" : "TriggerDefinition",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "trial-use"
}],
"path" : "TriggerDefinition",
"short" : "Defines an expected trigger for a module",
"definition" : "A description of a triggering event. Triggering events can be named events, data events, or periodic, as determined by the type element.",
"comment" : "If an event is a named-event, it means the event is completely pre-coordinated, and no other information can be specified for the event. If the event is one of the data- events, the data and condition elements specify the triggering criteria. The data element specifies the structured component, and the condition element provides additional optional refinement of that structured component. If the event is periodic, the timing element defines when the event is triggered. For both data- and periodic events, a name can be provided as a shorthand for the formal semantics provided by the other elements.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "TriggerDefinition",
"min" : 0,
"max" : "*"
},
"condition" : ["ele-1"],
"constraint" : [{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() or (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "Element"
},
{
"key" : "trd-3",
"severity" : "error",
"human" : "A named event requires a name, a periodic event requires timing, and a data event requires data",
"expression" : "(type = 'named-event' implies name.exists()) and (type = 'periodic' implies timing.exists()) and (type.startsWith('data-') implies data.exists())",
"xpath" : "((not(f:type/@value = 'named-event')) or name.exists()) and (not(f:type/@value = 'periodic') or timing.exists()) and (not(starts-with(f:type/@value, 'data-')) or data.exists())"
},
{
"key" : "trd-2",
"severity" : "error",
"human" : "A condition only if there is a data requirement",
"expression" : "condition.exists() implies data.exists()",
"xpath" : "not(exists(f:condition)) or exists(f:data)"
},
{
"key" : "trd-1",
"severity" : "error",
"human" : "Either timing, or a data requirement, but not both",
"expression" : "data.empty() or timing.empty()",
"xpath" : "not(exists(f:data)) or not(exists(*[starts-with(local-name(.), 'timing')]))"
}],
"isModifier" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "TriggerDefinition.id",
"path" : "TriggerDefinition.id",
"representation" : ["xmlAttr"],
"short" : "Unique id for inter-element referencing",
"definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "TriggerDefinition.extension",
"path" : "TriggerDefinition.extension",
"slicing" : {
"discriminator" : [{
"type" : "value",
"path" : "url"
}],
"description" : "Extensions are always sliced by (at least) url",
"rules" : "open"
},
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "TriggerDefinition.type",
"path" : "TriggerDefinition.type",
"short" : "named-event | periodic | data-changed | data-added | data-modified | data-removed | data-accessed | data-access-ended",
"definition" : "The type of triggering event.",
"min" : 1,
"max" : "1",
"base" : {
"path" : "TriggerDefinition.type",
"min" : 1,
"max" : "1"
},
"type" : [{
"code" : "code"
}],
"isModifier" : false,
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "TriggerType"
}],
"strength" : "required",
"description" : "The type of trigger.",
"valueSet" : "http://hl7.org/fhir/ValueSet/trigger-type|4.0.0"
}
},
{
"id" : "TriggerDefinition.name",
"path" : "TriggerDefinition.name",
"short" : "Name or URI that identifies the event",
"definition" : "A formal name for the event. This may be an absolute URI that identifies the event formally (e.g. from a trigger registry), or a simple relative URI that identifies the event in a local context.",
"comment" : "An event name can be provided for all event types, but is required for named events. If a name is provided for a type other than named events, it is considered to be a shorthand for the semantics described by the formal description of the event.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "TriggerDefinition.name",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : true
},
{
"id" : "TriggerDefinition.timing[x]",
"path" : "TriggerDefinition.timing[x]",
"short" : "Timing of the event",
"definition" : "The timing of the event (if this is a periodic trigger).",
"min" : 0,
"max" : "1",
"base" : {
"path" : "TriggerDefinition.timing[x]",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "Timing"
},
{
"code" : "Reference",
"targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Schedule"]
},
{
"code" : "date"
},
{
"code" : "dateTime"
}],
"isModifier" : false,
"isSummary" : true
},
{
"id" : "TriggerDefinition.data",
"path" : "TriggerDefinition.data",
"short" : "Triggering data of the event (multiple = 'and')",
"definition" : "The triggering data of the event (if this is a data trigger). If more than one data is requirement is specified, then all the data requirements must be true.",
"comment" : "This element shall be present for any data type trigger.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "TriggerDefinition.data",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "DataRequirement"
}],
"isModifier" : false,
"isSummary" : true
},
{
"id" : "TriggerDefinition.condition",
"path" : "TriggerDefinition.condition",
"short" : "Whether the event triggers (boolean expression)",
"definition" : "A boolean-valued expression that is evaluated in the context of the container of the trigger definition and returns whether or not the trigger fires.",
"comment" : "This element can be only be specified for data type triggers and provides additional semantics for the trigger. The context available within the condition is based on the type of data event. For all events, the current resource will be available as context. In addition, for modification events, the previous resource will also be available. The expression may be inlined, or may be a simple absolute URI, which is a reference to a named expression within a logic library referenced by a library element or extension within the containing resource. If the expression is a FHIR Path expression, it evaluates in the context of a resource of one of the type identified in the data requirement, and may also refer to the variable %previous for delta comparisons on events of type data-changed, data-modified, and data-deleted which will always have the same type.",
"requirements" : "Need to be able to formally describe the triggering criteria.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "TriggerDefinition.condition",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "Expression"
}],
"isModifier" : false,
"isSummary" : true
}]
},
"differential" : {
"element" : [{
"id" : "TriggerDefinition",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "trial-use"
}],
"path" : "TriggerDefinition",
"short" : "Defines an expected trigger for a module",
"definition" : "A description of a triggering event. Triggering events can be named events, data events, or periodic, as determined by the type element.",
"comment" : "If an event is a named-event, it means the event is completely pre-coordinated, and no other information can be specified for the event. If the event is one of the data- events, the data and condition elements specify the triggering criteria. The data element specifies the structured component, and the condition element provides additional optional refinement of that structured component. If the event is periodic, the timing element defines when the event is triggered. For both data- and periodic events, a name can be provided as a shorthand for the formal semantics provided by the other elements.",
"min" : 0,
"max" : "*",
"constraint" : [{
"key" : "trd-3",
"severity" : "error",
"human" : "A named event requires a name, a periodic event requires timing, and a data event requires data",
"expression" : "(type = 'named-event' implies name.exists()) and (type = 'periodic' implies timing.exists()) and (type.startsWith('data-') implies data.exists())",
"xpath" : "((not(f:type/@value = 'named-event')) or name.exists()) and (not(f:type/@value = 'periodic') or timing.exists()) and (not(starts-with(f:type/@value, 'data-')) or data.exists())"
},
{
"key" : "trd-2",
"severity" : "error",
"human" : "A condition only if there is a data requirement",
"expression" : "condition.exists() implies data.exists()",
"xpath" : "not(exists(f:condition)) or exists(f:data)"
},
{
"key" : "trd-1",
"severity" : "error",
"human" : "Either timing, or a data requirement, but not both",
"expression" : "data.empty() or timing.empty()",
"xpath" : "not(exists(f:data)) or not(exists(*[starts-with(local-name(.), 'timing')]))"
}]
},
{
"id" : "TriggerDefinition.type",
"path" : "TriggerDefinition.type",
"short" : "named-event | periodic | data-changed | data-added | data-modified | data-removed | data-accessed | data-access-ended",
"definition" : "The type of triggering event.",
"min" : 1,
"max" : "1",
"type" : [{
"code" : "code"
}],
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "TriggerType"
}],
"strength" : "required",
"description" : "The type of trigger.",
"valueSet" : "http://hl7.org/fhir/ValueSet/trigger-type|4.0.0"
}
},
{
"id" : "TriggerDefinition.name",
"path" : "TriggerDefinition.name",
"short" : "Name or URI that identifies the event",
"definition" : "A formal name for the event. This may be an absolute URI that identifies the event formally (e.g. from a trigger registry), or a simple relative URI that identifies the event in a local context.",
"comment" : "An event name can be provided for all event types, but is required for named events. If a name is provided for a type other than named events, it is considered to be a shorthand for the semantics described by the formal description of the event.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "string"
}],
"isSummary" : true
},
{
"id" : "TriggerDefinition.timing[x]",
"path" : "TriggerDefinition.timing[x]",
"short" : "Timing of the event",
"definition" : "The timing of the event (if this is a periodic trigger).",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "Timing"
},
{
"code" : "Reference",
"targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Schedule"]
},
{
"code" : "date"
},
{
"code" : "dateTime"
}],
"isSummary" : true
},
{
"id" : "TriggerDefinition.data",
"path" : "TriggerDefinition.data",
"short" : "Triggering data of the event (multiple = 'and')",
"definition" : "The triggering data of the event (if this is a data trigger). If more than one data is requirement is specified, then all the data requirements must be true.",
"comment" : "This element shall be present for any data type trigger.",
"min" : 0,
"max" : "*",
"type" : [{
"code" : "DataRequirement"
}],
"isSummary" : true
},
{
"id" : "TriggerDefinition.condition",
"path" : "TriggerDefinition.condition",
"short" : "Whether the event triggers (boolean expression)",
"definition" : "A boolean-valued expression that is evaluated in the context of the container of the trigger definition and returns whether or not the trigger fires.",
"comment" : "This element can be only be specified for data type triggers and provides additional semantics for the trigger. The context available within the condition is based on the type of data event. For all events, the current resource will be available as context. In addition, for modification events, the previous resource will also be available. The expression may be inlined, or may be a simple absolute URI, which is a reference to a named expression within a logic library referenced by a library element or extension within the containing resource. If the expression is a FHIR Path expression, it evaluates in the context of a resource of one of the type identified in the data requirement, and may also refer to the variable %previous for delta comparisons on events of type data-changed, data-modified, and data-deleted which will always have the same type.",
"requirements" : "Need to be able to formally describe the triggering criteria.",
"min" : 0,
"max" : "1",
"type" : [{
"code" : "Expression"
}],
"isSummary" : true
}]
}
}
},
{
"fullUrl" : "http://hl7.org/fhir/StructureDefinition/UsageContext",
"resource" : {
"resourceType" : "StructureDefinition",
"id" : "UsageContext",
"meta" : {
"lastUpdated" : "2018-12-27T22:37:54.724+11:00"
},
"text" : {
"status" : "generated",
"div" : "
"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "trial-use"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/UsageContext",
"version" : "4.0.0",
"name" : "UsageContext",
"status" : "draft",
"date" : "2018-12-27T22:37:54+11:00",
"publisher" : "HL7 FHIR Standard",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
}]
}],
"description" : "Base StructureDefinition for UsageContext Type: Specifies clinical/business/etc. metadata that can be used to retrieve, index and/or categorize an artifact. This metadata can either be specific to the applicable population (e.g., age category, DRG) or the specific context of care (e.g., venue, care setting, provider of care).",
"purpose" : "Consumers of the resource must be able to determine the intended applicability for the resource. Ideally, this information would be used programmatically to determine when and how it should be incorporated or exposed.",
"fhirVersion" : "4.0.0",
"mapping" : [{
"identity" : "rim",
"uri" : "http://hl7.org/v3",
"name" : "RIM Mapping"
}],
"kind" : "complex-type",
"abstract" : false,
"type" : "UsageContext",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Element",
"derivation" : "specialization",
"snapshot" : {
"element" : [{
"id" : "UsageContext",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "trial-use"
}],
"path" : "UsageContext",
"short" : "Describes the context of use for a conformance or knowledge resource",
"definition" : "Specifies clinical/business/etc. metadata that can be used to retrieve, index and/or categorize an artifact. This metadata can either be specific to the applicable population (e.g., age category, DRG) or the specific context of care (e.g., venue, care setting, provider of care).",
"min" : 0,
"max" : "*",
"base" : {
"path" : "UsageContext",
"min" : 0,
"max" : "*"
},
"condition" : ["ele-1"],
"constraint" : [{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() or (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "Element"
}],
"isModifier" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "UsageContext.id",
"path" : "UsageContext.id",
"representation" : ["xmlAttr"],
"short" : "Unique id for inter-element referencing",
"definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "UsageContext.extension",
"path" : "UsageContext.extension",
"slicing" : {
"discriminator" : [{
"type" : "value",
"path" : "url"
}],
"description" : "Extensions are always sliced by (at least) url",
"rules" : "open"
},
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "UsageContext.code",
"path" : "UsageContext.code",
"short" : "Type of context being specified",
"definition" : "A code that identifies the type of context being specified by this usage context.",
"min" : 1,
"max" : "1",
"base" : {
"path" : "UsageContext.code",
"min" : 1,
"max" : "1"
},
"type" : [{
"code" : "Coding"
}],
"isModifier" : false,
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "UsageContextType"
}],
"strength" : "extensible",
"description" : "A code that specifies a type of context being specified by a usage context.",
"valueSet" : "http://hl7.org/fhir/ValueSet/usage-context-type"
}
},
{
"id" : "UsageContext.value[x]",
"path" : "UsageContext.value[x]",
"short" : "Value that defines the context",
"definition" : "A value that defines the context specified in this context of use. The interpretation of the value is defined by the code.",
"min" : 1,
"max" : "1",
"base" : {
"path" : "UsageContext.value[x]",
"min" : 1,
"max" : "1"
},
"type" : [{
"code" : "CodeableConcept"
},
{
"code" : "Quantity"
},
{
"code" : "Range"
},
{
"code" : "Reference",
"targetProfile" : ["http://hl7.org/fhir/StructureDefinition/PlanDefinition",
"http://hl7.org/fhir/StructureDefinition/ResearchStudy",
"http://hl7.org/fhir/StructureDefinition/InsurancePlan",
"http://hl7.org/fhir/StructureDefinition/HealthcareService",
"http://hl7.org/fhir/StructureDefinition/Group",
"http://hl7.org/fhir/StructureDefinition/Location",
"http://hl7.org/fhir/StructureDefinition/Organization"]
}],
"isModifier" : false,
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "UsageContextValue"
}],
"strength" : "example",
"description" : "A code that defines the specific value for the context being specified.",
"valueSet" : "http://hl7.org/fhir/ValueSet/use-context"
}
}]
},
"differential" : {
"element" : [{
"id" : "UsageContext",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "trial-use"
}],
"path" : "UsageContext",
"short" : "Describes the context of use for a conformance or knowledge resource",
"definition" : "Specifies clinical/business/etc. metadata that can be used to retrieve, index and/or categorize an artifact. This metadata can either be specific to the applicable population (e.g., age category, DRG) or the specific context of care (e.g., venue, care setting, provider of care).",
"min" : 0,
"max" : "*"
},
{
"id" : "UsageContext.code",
"path" : "UsageContext.code",
"short" : "Type of context being specified",
"definition" : "A code that identifies the type of context being specified by this usage context.",
"min" : 1,
"max" : "1",
"type" : [{
"code" : "Coding"
}],
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "UsageContextType"
}],
"strength" : "extensible",
"description" : "A code that specifies a type of context being specified by a usage context.",
"valueSet" : "http://hl7.org/fhir/ValueSet/usage-context-type"
}
},
{
"id" : "UsageContext.value[x]",
"path" : "UsageContext.value[x]",
"short" : "Value that defines the context",
"definition" : "A value that defines the context specified in this context of use. The interpretation of the value is defined by the code.",
"min" : 1,
"max" : "1",
"type" : [{
"code" : "CodeableConcept"
},
{
"code" : "Quantity"
},
{
"code" : "Range"
},
{
"code" : "Reference",
"targetProfile" : ["http://hl7.org/fhir/StructureDefinition/PlanDefinition",
"http://hl7.org/fhir/StructureDefinition/ResearchStudy",
"http://hl7.org/fhir/StructureDefinition/InsurancePlan",
"http://hl7.org/fhir/StructureDefinition/HealthcareService",
"http://hl7.org/fhir/StructureDefinition/Group",
"http://hl7.org/fhir/StructureDefinition/Location",
"http://hl7.org/fhir/StructureDefinition/Organization"]
}],
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "UsageContextValue"
}],
"strength" : "example",
"description" : "A code that defines the specific value for the context being specified.",
"valueSet" : "http://hl7.org/fhir/ValueSet/use-context"
}
}]
}
}
},
{
"fullUrl" : "http://hl7.org/fhir/StructureDefinition/MoneyQuantity",
"resource" : {
"resourceType" : "StructureDefinition",
"id" : "MoneyQuantity",
"meta" : {
"lastUpdated" : "2018-12-27T22:37:54.724+11:00"
},
"text" : {
"status" : "generated",
"div" : "
Data type MoneyQuantity
An amount of money. With regard to precision, see [Decimal Precision](datatypes.html#precision)
Rule
There SHALL be a code if there is a value and it SHALL be an expression of currency. If system is present, it SHALL be ISO 4217 (system = "urn:iso:std:iso:4217" - currency).
XPath:
(f:code or not(f:value)) and (not(exists(f:system)) or f:system/@value='urn:iso:std:iso:4217')
"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/MoneyQuantity",
"version" : "4.0.0",
"name" : "MoneyQuantity",
"status" : "active",
"date" : "2018-12-27T22:37:54+11:00",
"publisher" : "HL7 FHIR Standard",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
}]
}],
"description" : "An amount of money. With regard to precision, see [Decimal Precision](datatypes.html#precision)",
"fhirVersion" : "4.0.0",
"mapping" : [{
"identity" : "v2",
"uri" : "http://hl7.org/v2",
"name" : "HL7 v2 Mapping"
},
{
"identity" : "rim",
"uri" : "http://hl7.org/v3",
"name" : "RIM Mapping"
}],
"kind" : "complex-type",
"abstract" : false,
"type" : "Quantity",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Quantity",
"derivation" : "constraint",
"snapshot" : {
"element" : [{
"id" : "Quantity",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"path" : "Quantity",
"short" : "An amount of money. With regard to precision, see [Decimal Precision](datatypes.html#precision)",
"definition" : "There SHALL be a code if there is a value and it SHALL be an expression of currency. If system is present, it SHALL be ISO 4217 (system = \"urn:iso:std:iso:4217\" - currency).",
"comment" : "The context of use may frequently define what kind of quantity this is and therefore what kind of units can be used. The context of use may also restrict the values for the comparator.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "Quantity",
"min" : 0,
"max" : "*"
},
"condition" : ["ele-1"],
"constraint" : [{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() or (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "Element"
},
{
"key" : "qty-3",
"severity" : "error",
"human" : "If a code for the unit is present, the system SHALL also be present",
"expression" : "code.empty() or system.exists()",
"xpath" : "not(exists(f:code)) or exists(f:system)",
"source" : "Quantity"
},
{
"key" : "mtqy-1",
"severity" : "error",
"human" : "There SHALL be a code if there is a value and it SHALL be an expression of currency. If system is present, it SHALL be ISO 4217 (system = \"urn:iso:std:iso:4217\" - currency).",
"expression" : "(code.exists() or value.empty()) and (system.empty() or system = 'urn:iso:std:iso:4217')",
"xpath" : "(f:code or not(f:value)) and (not(exists(f:system)) or f:system/@value='urn:iso:std:iso:4217')"
}],
"isModifier" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
},
{
"identity" : "v2",
"map" : "SN (see also Range) or CQ"
},
{
"identity" : "rim",
"map" : "PQ, IVL, MO, CO, depending on the values"
}]
},
{
"id" : "Quantity.id",
"path" : "Quantity.id",
"representation" : ["xmlAttr"],
"short" : "Unique id for inter-element referencing",
"definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "Quantity.extension",
"path" : "Quantity.extension",
"slicing" : {
"discriminator" : [{
"type" : "value",
"path" : "url"
}],
"description" : "Extensions are always sliced by (at least) url",
"rules" : "open"
},
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "Quantity.value",
"path" : "Quantity.value",
"short" : "Numerical value (with implicit precision)",
"definition" : "The value of the measured amount. The value includes an implicit precision in the presentation of the value.",
"comment" : "The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).",
"requirements" : "Precision is handled implicitly in almost all cases of measurement.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Quantity.value",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "decimal"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "SN.2 / CQ - N/A"
},
{
"identity" : "rim",
"map" : "PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value"
}]
},
{
"id" : "Quantity.comparator",
"path" : "Quantity.comparator",
"short" : "< | <= | >= | > - how to understand the value",
"definition" : "How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \"<\" , then the real value is < stated value.",
"requirements" : "Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Quantity.comparator",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "code"
}],
"meaningWhenMissing" : "If there is no comparator, then there is no modification of the value",
"isModifier" : true,
"isModifierReason" : "This is labeled as \"Is Modifier\" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value",
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "QuantityComparator"
}],
"strength" : "required",
"description" : "How the Quantity should be understood and represented.",
"valueSet" : "http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.0"
},
"mapping" : [{
"identity" : "v2",
"map" : "SN.1 / CQ.1"
},
{
"identity" : "rim",
"map" : "IVL properties"
}]
},
{
"id" : "Quantity.unit",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean" : true
}],
"path" : "Quantity.unit",
"short" : "Unit representation",
"definition" : "A human-readable form of the unit.",
"requirements" : "There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Quantity.unit",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "(see OBX.6 etc.) / CQ.2"
},
{
"identity" : "rim",
"map" : "PQ.unit"
}]
},
{
"id" : "Quantity.system",
"path" : "Quantity.system",
"short" : "System that defines coded unit form",
"definition" : "The identification of the system that provides the coded form of the unit.",
"requirements" : "Need to know the system that defines the coded form of the unit.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Quantity.system",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "uri"
}],
"condition" : ["qty-3"],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "(see OBX.6 etc.) / CQ.2"
},
{
"identity" : "rim",
"map" : "CO.codeSystem, PQ.translation.codeSystem"
}]
},
{
"id" : "Quantity.code",
"path" : "Quantity.code",
"short" : "Coded form of the unit",
"definition" : "A computer processable form of the unit in some unit representation system.",
"comment" : "The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system.",
"requirements" : "Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Quantity.code",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "code"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "(see OBX.6 etc.) / CQ.2"
},
{
"identity" : "rim",
"map" : "PQ.code, MO.currency, PQ.translation.code"
}]
}]
},
"differential" : {
"element" : [{
"id" : "Quantity",
"path" : "Quantity",
"short" : "An amount of money. With regard to precision, see [Decimal Precision](datatypes.html#precision)",
"definition" : "There SHALL be a code if there is a value and it SHALL be an expression of currency. If system is present, it SHALL be ISO 4217 (system = \"urn:iso:std:iso:4217\" - currency).",
"min" : 0,
"max" : "*",
"constraint" : [{
"key" : "mtqy-1",
"severity" : "error",
"human" : "There SHALL be a code if there is a value and it SHALL be an expression of currency. If system is present, it SHALL be ISO 4217 (system = \"urn:iso:std:iso:4217\" - currency).",
"expression" : "(code.exists() or value.empty()) and (system.empty() or system = 'urn:iso:std:iso:4217')",
"xpath" : "(f:code or not(f:value)) and (not(exists(f:system)) or f:system/@value='urn:iso:std:iso:4217')"
}],
"isModifier" : false
}]
}
}
},
{
"fullUrl" : "http://hl7.org/fhir/StructureDefinition/SimpleQuantity",
"resource" : {
"resourceType" : "StructureDefinition",
"id" : "SimpleQuantity",
"meta" : {
"lastUpdated" : "2018-12-27T22:37:54.724+11:00"
},
"text" : {
"status" : "generated",
"div" : "
Data type SimpleQuantity
A fixed quantity (no comparator)
Rule
The comparator is not used on a SimpleQuantity
XPath:
not(exists(f:comparator))
"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/SimpleQuantity",
"version" : "4.0.0",
"name" : "SimpleQuantity",
"status" : "active",
"date" : "2018-12-27T22:37:54+11:00",
"publisher" : "HL7 FHIR Standard",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
}]
}],
"description" : "A fixed quantity (no comparator)",
"fhirVersion" : "4.0.0",
"mapping" : [{
"identity" : "v2",
"uri" : "http://hl7.org/v2",
"name" : "HL7 v2 Mapping"
},
{
"identity" : "rim",
"uri" : "http://hl7.org/v3",
"name" : "RIM Mapping"
}],
"kind" : "complex-type",
"abstract" : false,
"type" : "Quantity",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Quantity",
"derivation" : "constraint",
"snapshot" : {
"element" : [{
"id" : "Quantity",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
}],
"path" : "Quantity",
"short" : "A fixed quantity (no comparator)",
"definition" : "The comparator is not used on a SimpleQuantity",
"comment" : "The context of use may frequently define what kind of quantity this is and therefore what kind of units can be used. The context of use may also restrict the values for the comparator.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "Quantity",
"min" : 0,
"max" : "*"
},
"condition" : ["ele-1"],
"constraint" : [{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() or (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "Element"
},
{
"key" : "qty-3",
"severity" : "error",
"human" : "If a code for the unit is present, the system SHALL also be present",
"expression" : "code.empty() or system.exists()",
"xpath" : "not(exists(f:code)) or exists(f:system)",
"source" : "Quantity"
},
{
"key" : "sqty-1",
"severity" : "error",
"human" : "The comparator is not used on a SimpleQuantity",
"expression" : "comparator.empty()",
"xpath" : "not(exists(f:comparator))"
}],
"isModifier" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
},
{
"identity" : "v2",
"map" : "SN (see also Range) or CQ"
},
{
"identity" : "rim",
"map" : "PQ, IVL, MO, CO, depending on the values"
}]
},
{
"id" : "Quantity.id",
"path" : "Quantity.id",
"representation" : ["xmlAttr"],
"short" : "Unique id for inter-element referencing",
"definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "Quantity.extension",
"path" : "Quantity.extension",
"slicing" : {
"discriminator" : [{
"type" : "value",
"path" : "url"
}],
"description" : "Extensions are always sliced by (at least) url",
"rules" : "open"
},
"short" : "Additional content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : ["extensions",
"user content"],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [{
"code" : "Extension"
}],
"isModifier" : false,
"isSummary" : false,
"mapping" : [{
"identity" : "rim",
"map" : "n/a"
}]
},
{
"id" : "Quantity.value",
"path" : "Quantity.value",
"short" : "Numerical value (with implicit precision)",
"definition" : "The value of the measured amount. The value includes an implicit precision in the presentation of the value.",
"comment" : "The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).",
"requirements" : "Precision is handled implicitly in almost all cases of measurement.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Quantity.value",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "decimal"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "SN.2 / CQ - N/A"
},
{
"identity" : "rim",
"map" : "PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value"
}]
},
{
"id" : "Quantity.comparator",
"path" : "Quantity.comparator",
"short" : "< | <= | >= | > - how to understand the value",
"definition" : "Not allowed to be used in this context",
"requirements" : "Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.",
"min" : 0,
"max" : "0",
"base" : {
"path" : "Quantity.comparator",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "code"
}],
"meaningWhenMissing" : "If there is no comparator, then there is no modification of the value",
"isModifier" : true,
"isModifierReason" : "This is labeled as \"Is Modifier\" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value",
"isSummary" : true,
"binding" : {
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "QuantityComparator"
}],
"strength" : "required",
"description" : "How the Quantity should be understood and represented.",
"valueSet" : "http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.0"
},
"mapping" : [{
"identity" : "v2",
"map" : "SN.1 / CQ.1"
},
{
"identity" : "rim",
"map" : "IVL properties"
}]
},
{
"id" : "Quantity.unit",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean" : true
}],
"path" : "Quantity.unit",
"short" : "Unit representation",
"definition" : "A human-readable form of the unit.",
"requirements" : "There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Quantity.unit",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "string"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "(see OBX.6 etc.) / CQ.2"
},
{
"identity" : "rim",
"map" : "PQ.unit"
}]
},
{
"id" : "Quantity.system",
"path" : "Quantity.system",
"short" : "System that defines coded unit form",
"definition" : "The identification of the system that provides the coded form of the unit.",
"requirements" : "Need to know the system that defines the coded form of the unit.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Quantity.system",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "uri"
}],
"condition" : ["qty-3"],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "(see OBX.6 etc.) / CQ.2"
},
{
"identity" : "rim",
"map" : "CO.codeSystem, PQ.translation.codeSystem"
}]
},
{
"id" : "Quantity.code",
"path" : "Quantity.code",
"short" : "Coded form of the unit",
"definition" : "A computer processable form of the unit in some unit representation system.",
"comment" : "The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system.",
"requirements" : "Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Quantity.code",
"min" : 0,
"max" : "1"
},
"type" : [{
"code" : "code"
}],
"isModifier" : false,
"isSummary" : true,
"mapping" : [{
"identity" : "v2",
"map" : "(see OBX.6 etc.) / CQ.2"
},
{
"identity" : "rim",
"map" : "PQ.code, MO.currency, PQ.translation.code"
}]
}]
},
"differential" : {
"element" : [{
"id" : "Quantity",
"path" : "Quantity",
"short" : "A fixed quantity (no comparator)",
"definition" : "The comparator is not used on a SimpleQuantity",
"min" : 0,
"max" : "*",
"constraint" : [{
"key" : "sqty-1",
"severity" : "error",
"human" : "The comparator is not used on a SimpleQuantity",
"expression" : "comparator.empty()",
"xpath" : "not(exists(f:comparator))"
}],
"isModifier" : false
},
{
"id" : "Quantity.comparator",
"path" : "Quantity.comparator",
"definition" : "Not allowed to be used in this context",
"max" : "0"
}]
}
}
}]
}