EncounterProfile
{
"resourceType" : "StructureDefinition",
"id" : "cimi-encounter-Encounter",
"text" : {
"status" : "generated",
"div" : "

SW Encounter Profile

A description of an interaction between a patient and healthcare provider(s) for the purpose of providing healthcare service(s) or assessing the health status of a patient.

SW Mapping Summary

cimi.encounter.Encounter maps to Encounter:
PersonOfRecord maps to subject
EncounterType maps to type
Status maps to status
TimePeriod maps to period

"
},
"url" : "http://hl7.org/fhir/us/sw/StructureDefinition/cimi-encounter-Encounter",
"identifier" : [
{
"system" : "http://hl7.org/fhir/us/sw",
"value" : "cimi.encounter.Encounter"
}
],
"version" : "1.0.0",
"name" : "EncounterProfile",
"title" : "SW Encounter Profile",
"status" : "draft",
"date" : "2018-08-17T00:00:00-04:00",
"publisher" : "HL7 Patient Care and Clinical Information Modeling Initiative Work Groups",
"contact" : [
{
"telecom" : [
{
"system" : "url",
"value" : "http://standardhealthrecord.org"
}
]
}
],
"description" : "A description of an interaction between a patient and healthcare provider(s) for the purpose of providing healthcare service(s) or assessing the health status of a patient.",
"fhirVersion" : "3.0.1",
"mapping" : [
{
"identity" : "rim",
"uri" : "http://hl7.org/v3",
"name" : "RIM Mapping"
},
{
"identity" : "w5",
"uri" : "http://hl7.org/fhir/w5",
"name" : "W5 Mapping"
},
{
"identity" : "v2",
"uri" : "http://hl7.org/v2",
"name" : "HL7 v2 Mapping"
}
],
"kind" : "resource",
"abstract" : false,
"type" : "Encounter",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Encounter",
"derivation" : "constraint",
"snapshot" : {
"element" : [
{
"id" : "Encounter:cimi-encounter-Encounter",
"path" : "Encounter",
"short" : "SW Encounter Profile",
"definition" : "A description of an interaction between a patient and healthcare provider(s) for the purpose of providing healthcare service(s) or assessing the health status of a patient.",
"alias" : [
"Visit"
],
"min" : 0,
"max" : "*",
"constraint" : [
{
"key" : "dom-2",
"severity" : "error",
"human" : "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
"expression" : "contained.contained.empty()",
"xpath" : "not(parent::f:contained and f:contained)",
"source" : "DomainResource"
},
{
"key" : "dom-1",
"severity" : "error",
"human" : "If the resource is contained in another resource, it SHALL NOT contain any narrative",
"expression" : "contained.text.empty()",
"xpath" : "not(parent::f:contained and f:text)",
"source" : "DomainResource"
},
{
"key" : "dom-4",
"severity" : "error",
"human" : "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
"expression" : "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()",
"xpath" : "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))",
"source" : "DomainResource"
},
{
"key" : "dom-3",
"severity" : "error",
"human" : "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource",
"expression" : "contained.where(('#'+id in %resource.descendants().reference).not()).empty()",
"xpath" : "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))",
"source" : "DomainResource"
}
],
"mapping" : [
{
"identity" : "rim",
"map" : "Entity. Role, or Act"
},
{
"identity" : "rim",
"map" : "Encounter[@moodCode='EVN']"
},
{
"identity" : "w5",
"map" : "workflow.encounter"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.id",
"path" : "Encounter.id",
"short" : "Logical id of this artifact",
"definition" : "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
"comment" : "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Resource.id",
"min" : 0,
"max" : "1"
},
"type" : [
{
"code" : "id"
}
],
"isSummary" : true
},
{
"id" : "Encounter:cimi-encounter-Encounter.meta",
"path" : "Encounter.meta",
"short" : "Metadata about the resource",
"definition" : "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Resource.meta",
"min" : 0,
"max" : "1"
},
"type" : [
{
"code" : "Meta"
}
],
"isSummary" : true
},
{
"id" : "Encounter:cimi-encounter-Encounter.implicitRules",
"path" : "Encounter.implicitRules",
"short" : "A set of rules under which this content was created",
"definition" : "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content.",
"comment" : "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element.
This element is labelled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Resource.implicitRules",
"min" : 0,
"max" : "1"
},
"type" : [
{
"code" : "uri"
}
],
"isModifier" : true,
"isSummary" : true
},
{
"id" : "Encounter:cimi-encounter-Encounter.language",
"path" : "Encounter.language",
"short" : "Language of the resource content",
"definition" : "The base language in which the resource is written.",
"comment" : "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Resource.language",
"min" : 0,
"max" : "1"
},
"type" : [
{
"code" : "code"
}
],
"binding" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
"valueReference" : {
"reference" : "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" : "extensible",
"description" : "A human language.",
"valueSetReference" : {
"reference" : "http://hl7.org/fhir/ValueSet/languages"
}
}
},
{
"id" : "Encounter:cimi-encounter-Encounter.text",
"path" : "Encounter.text",
"short" : "Text summary of the resource, for human interpretation",
"definition" : "A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.",
"comment" : "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a "text blob" or where text is additionally entered raw or narrated and encoded in formation is added later.",
"alias" : [
"narrative",
"html",
"xhtml",
"display"
],
"min" : 0,
"max" : "1",
"base" : {
"path" : "DomainResource.text",
"min" : 0,
"max" : "1"
},
"type" : [
{
"code" : "Narrative"
}
],
"condition" : [
"dom-1"
],
"mapping" : [
{
"identity" : "rim",
"map" : "Act.text?"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.contained",
"path" : "Encounter.contained",
"short" : "Contained, inline Resources",
"definition" : "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.",
"comment" : "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again.",
"alias" : [
"inline resources",
"anonymous resources",
"contained resources"
],
"min" : 0,
"max" : "*",
"base" : {
"path" : "DomainResource.contained",
"min" : 0,
"max" : "*"
},
"type" : [
{
"code" : "Resource"
}
],
"mapping" : [
{
"identity" : "rim",
"map" : "N/A"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.extension",
"path" : "Encounter.extension",
"slicing" : {
"id" : "1",
"discriminator" : [
{
"type" : "value",
"path" : "url"
}
],
"ordered" : false,
"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 resource. In order 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 is allowed to 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" : "DomainResource.extension",
"min" : 0,
"max" : "*"
},
"type" : [
{
"code" : "Extension"
}
],
"mapping" : [
{
"identity" : "rim",
"map" : "N/A"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.extension:recorded",
"path" : "Encounter.extension",
"sliceName" : "recorded",
"definition" : "The person who entered the order on behalf of another individual for example in the case of a verbal or a telephone order.",
"min" : 0,
"max" : "1",
"type" : [
{
"code" : "Extension",
"profile" : "http://hl7.org/fhir/us/sw/StructureDefinition/cimi-core-Recorded-extension"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.extension:signed",
"path" : "Encounter.extension",
"sliceName" : "signed",
"definition" : "Provenance information specific to the signing of the clinical statement.",
"min" : 0,
"max" : "1",
"type" : [
{
"code" : "Extension",
"profile" : "http://hl7.org/fhir/us/sw/StructureDefinition/cimi-core-Signed-extension"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.extension:additionaltext",
"path" : "Encounter.extension",
"sliceName" : "additionaltext",
"definition" : "A text note containing additional details, explanation, description, comment, or summarization. Details can discuss, support, explain changes to, or dispute information.",
"min" : 0,
"max" : "1",
"type" : [
{
"code" : "Extension",
"profile" : "http://hl7.org/fhir/us/sw/StructureDefinition/cimi-core-AdditionalText-extension"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.extension:encounterclass",
"path" : "Encounter.extension",
"sliceName" : "encounterclass",
"definition" : "Concepts representing classification of patient encounter such as ambulatory (outpatient), inpatient, emergency, home health or others due to local variations.",
"min" : 0,
"max" : "1",
"type" : [
{
"code" : "Extension",
"profile" : "http://hl7.org/fhir/us/sw/StructureDefinition/cimi-encounter-EncounterClass-extension"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.extension:partof",
"path" : "Encounter.extension",
"sliceName" : "partof",
"definition" : "The larger entity that this is a portion of. For example, an organization might be part of a larger organization, or an encounter with a hospitalist might be part of a larger hospitalization encounter.",
"min" : 0,
"max" : "1",
"type" : [
{
"code" : "Extension",
"profile" : "http://hl7.org/fhir/us/sw/StructureDefinition/cimi-element-PartOf-extension"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.extension:partof.id",
"path" : "Encounter.extension.id",
"representation" : [
"xmlAttr"
],
"short" : "xml:id (or equivalent in JSON)",
"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"
}
],
"mapping" : [
{
"identity" : "rim",
"map" : "N/A"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.extension:partof.extension",
"path" : "Encounter.extension.extension",
"slicing" : {
"id" : "1",
"discriminator" : [
{
"type" : "value",
"path" : "url"
}
],
"ordered" : false,
"rules" : "open"
},
"short" : "Extension",
"definition" : "An Extension",
"min" : 1,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [
{
"code" : "Extension"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.extension:partof.extension:independent",
"path" : "Encounter.extension.extension",
"sliceName" : "independent",
"definition" : "Base class for classes in CIMI that stand alone. Analogous to FHIR's DomainResource.",
"min" : 1,
"max" : "1",
"base" : {
"path" : "Extension.extension",
"min" : 0,
"max" : "1"
},
"type" : [
{
"code" : "Extension",
"profile" : "http://hl7.org/fhir/us/sw/StructureDefinition/cimi-core-Independent-extension"
}
],
"isModifier" : false,
"mapping" : [
{
"identity" : "rim",
"map" : "N/A"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.extension:partof.extension:independent.id",
"path" : "Encounter.extension.extension.id",
"representation" : [
"xmlAttr"
],
"short" : "xml:id (or equivalent in JSON)",
"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"
}
],
"mapping" : [
{
"identity" : "rim",
"map" : "N/A"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.extension:partof.extension:independent.extension",
"path" : "Encounter.extension.extension.extension",
"slicing" : {
"id" : "1",
"discriminator" : [
{
"type" : "value",
"path" : "url"
}
],
"ordered" : false,
"rules" : "open"
},
"short" : "Extension",
"definition" : "An Extension",
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [
{
"code" : "Extension"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.extension:partof.extension:independent.url",
"path" : "Encounter.extension.extension.url",
"representation" : [
"xmlAttr"
],
"short" : "identifies the meaning of the extension",
"definition" : "Source of the definition for the extension code - a logical name or a URL.",
"comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
"min" : 1,
"max" : "1",
"base" : {
"path" : "Extension.url",
"min" : 1,
"max" : "1"
},
"type" : [
{
"code" : "uri"
}
],
"fixedUri" : "http://hl7.org/fhir/us/sw/StructureDefinition/cimi-core-Independent-extension",
"mapping" : [
{
"identity" : "rim",
"map" : "N/A"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.extension:partof.extension:independent.value[x]",
"path" : "Encounter.extension.extension.value[x]",
"short" : "Value of extension",
"definition" : "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).",
"min" : 0,
"max" : "0",
"base" : {
"path" : "Extension.value[x]",
"min" : 0,
"max" : "1"
},
"type" : [
{
"code" : "base64Binary"
},
{
"code" : "boolean"
},
{
"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" : "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" : "Meta"
}
],
"mapping" : [
{
"identity" : "rim",
"map" : "N/A"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.extension:partof.url",
"path" : "Encounter.extension.url",
"representation" : [
"xmlAttr"
],
"short" : "identifies the meaning of the extension",
"definition" : "Source of the definition for the extension code - a logical name or a URL.",
"comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
"min" : 1,
"max" : "1",
"base" : {
"path" : "Extension.url",
"min" : 1,
"max" : "1"
},
"type" : [
{
"code" : "uri"
}
],
"fixedUri" : "http://hl7.org/fhir/us/sw/StructureDefinition/cimi-element-PartOf-extension",
"mapping" : [
{
"identity" : "rim",
"map" : "N/A"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.extension:partof.value[x]",
"path" : "Encounter.extension.value[x]",
"short" : "Value of extension",
"definition" : "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).",
"min" : 0,
"max" : "0",
"base" : {
"path" : "Extension.value[x]",
"min" : 0,
"max" : "1"
},
"type" : [
{
"code" : "base64Binary"
},
{
"code" : "boolean"
},
{
"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" : "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" : "Meta"
}
],
"mapping" : [
{
"identity" : "rim",
"map" : "N/A"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.extension:diagnosis",
"path" : "Encounter.extension",
"sliceName" : "diagnosis",
"definition" : "A diagnosis, which is a disease or injury determined to be present through evaluation of patient history, examination, and/or review of laboratory data.",
"min" : 0,
"max" : "*",
"type" : [
{
"code" : "Extension",
"profile" : "http://hl7.org/fhir/us/sw/StructureDefinition/cimi-encounter-Diagnosis-extension"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.extension:clinicalnote",
"path" : "Encounter.extension",
"sliceName" : "clinicalnote",
"definition" : "An entry concerning a patient where the result is a narrative text.",
"min" : 0,
"max" : "1",
"type" : [
{
"code" : "Extension",
"profile" : "http://hl7.org/fhir/us/sw/StructureDefinition/cimi-statement-ClinicalNote-extension"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.modifierExtension",
"path" : "Encounter.modifierExtension",
"short" : "Extensions that cannot be ignored",
"definition" : "May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order 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 is allowed to 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.",
"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" : "DomainResource.modifierExtension",
"min" : 0,
"max" : "*"
},
"type" : [
{
"code" : "Extension"
}
],
"isModifier" : true,
"mapping" : [
{
"identity" : "rim",
"map" : "N/A"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.identifier",
"path" : "Encounter.identifier",
"short" : "Identifier(s) by which this encounter is known",
"definition" : "Identifier(s) by which this encounter is known.",
"min" : 0,
"max" : "*",
"type" : [
{
"code" : "Identifier"
}
],
"isSummary" : true,
"mapping" : [
{
"identity" : "v2",
"map" : "PV1-19"
},
{
"identity" : "rim",
"map" : ".id"
},
{
"identity" : "w5",
"map" : "id"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.status",
"path" : "Encounter.status",
"short" : "planned | arrived | triaged | in-progress | onleave | finished | cancelled +",
"definition" : "planned | arrived | triaged | in-progress | onleave | finished | cancelled +.",
"comment" : "Note that internal business rules will detemine the appropraite transitions that may occur between statuses (and also classes).
This element is labeled as a modifier because the status contains codes that mark the encounter as not currently valid.",
"min" : 1,
"max" : "1",
"type" : [
{
"code" : "code"
}
],
"isModifier" : true,
"isSummary" : true,
"binding" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "EncounterStatus"
}
],
"strength" : "required",
"description" : "Current state of the encounter",
"valueSetReference" : {
"reference" : "http://hl7.org/fhir/ValueSet/encounter-status"
}
},
"mapping" : [
{
"identity" : "v2",
"map" : "No clear equivalent in HL7 v2; active/finished could be inferred from PV1-44, PV1-45, PV2-24; inactive could be inferred from PV2-16"
},
{
"identity" : "rim",
"map" : ".statusCode"
},
{
"identity" : "w5",
"map" : "status"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.statusHistory",
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
"valueString" : "StatusHistory"
}
],
"path" : "Encounter.statusHistory",
"short" : "List of past encounter statuses",
"definition" : "The status history permits the encounter resource to contain the status history without needing to read through the historical versions of the resource, or even have the server store them.",
"comment" : "The current status is always found in the current version of the resource, not the status history.",
"min" : 0,
"max" : "*",
"type" : [
{
"code" : "BackboneElement"
}
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() | (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "Element"
}
],
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.statusHistory.id",
"path" : "Encounter.statusHistory.id",
"representation" : [
"xmlAttr"
],
"short" : "xml:id (or equivalent in JSON)",
"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"
}
],
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.statusHistory.extension",
"path" : "Encounter.statusHistory.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 element. In order 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 is allowed to 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"
}
],
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.statusHistory.modifierExtension",
"path" : "Encounter.statusHistory.modifierExtension",
"short" : "Extensions that cannot be ignored",
"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 that contains it. Usually modifier elements provide negation or qualification. In order 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 is allowed to 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.",
"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",
"modifiers"
],
"min" : 0,
"max" : "*",
"base" : {
"path" : "BackboneElement.modifierExtension",
"min" : 0,
"max" : "*"
},
"type" : [
{
"code" : "Extension"
}
],
"isModifier" : true,
"isSummary" : true,
"mapping" : [
{
"identity" : "rim",
"map" : "N/A"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.statusHistory.status",
"path" : "Encounter.statusHistory.status",
"short" : "planned | arrived | triaged | in-progress | onleave | finished | cancelled +",
"definition" : "planned | arrived | triaged | in-progress | onleave | finished | cancelled +.",
"min" : 1,
"max" : "1",
"type" : [
{
"code" : "code"
}
],
"binding" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "EncounterStatus"
}
],
"strength" : "required",
"description" : "Current state of the encounter",
"valueSetReference" : {
"reference" : "http://hl7.org/fhir/ValueSet/encounter-status"
}
},
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.statusHistory.period",
"path" : "Encounter.statusHistory.period",
"short" : "The time that the episode was in the specified status",
"definition" : "The time that the episode was in the specified status.",
"min" : 1,
"max" : "1",
"type" : [
{
"code" : "Period"
}
],
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.class",
"path" : "Encounter.class",
"short" : "inpatient | outpatient | ambulatory | emergency +",
"definition" : "inpatient | outpatient | ambulatory | emergency +.",
"min" : 0,
"max" : "1",
"type" : [
{
"code" : "Coding"
}
],
"isSummary" : true,
"binding" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "EncounterClass"
}
],
"strength" : "extensible",
"description" : "Classification of the encounter",
"valueSetReference" : {
"reference" : "http://hl7.org/fhir/ValueSet/v3-ActEncounterCode"
}
},
"mapping" : [
{
"identity" : "v2",
"map" : "PV1-2"
},
{
"identity" : "rim",
"map" : ".inboundRelationship[typeCode=SUBJ].source[classCode=LIST].code"
},
{
"identity" : "w5",
"map" : "class"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.classHistory",
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
"valueString" : "ClassHistory"
}
],
"path" : "Encounter.classHistory",
"short" : "List of past encounter classes",
"definition" : "The class history permits the tracking of the encounters transitions without needing to go through the resource history.
This would be used for a case where an admission starts of as an emergency encounter, then transisions into an inpatient scenario. Doing this and not restarting a new encounter ensures that any lab/diagnostic results can more easily follow the patient and not require re-processing and not get lost or cancelled during a kindof discharge from emergency to inpatient.",
"min" : 0,
"max" : "*",
"type" : [
{
"code" : "BackboneElement"
}
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() | (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "Element"
}
],
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.classHistory.id",
"path" : "Encounter.classHistory.id",
"representation" : [
"xmlAttr"
],
"short" : "xml:id (or equivalent in JSON)",
"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"
}
],
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.classHistory.extension",
"path" : "Encounter.classHistory.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 element. In order 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 is allowed to 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"
}
],
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.classHistory.modifierExtension",
"path" : "Encounter.classHistory.modifierExtension",
"short" : "Extensions that cannot be ignored",
"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 that contains it. Usually modifier elements provide negation or qualification. In order 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 is allowed to 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.",
"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",
"modifiers"
],
"min" : 0,
"max" : "*",
"base" : {
"path" : "BackboneElement.modifierExtension",
"min" : 0,
"max" : "*"
},
"type" : [
{
"code" : "Extension"
}
],
"isModifier" : true,
"isSummary" : true,
"mapping" : [
{
"identity" : "rim",
"map" : "N/A"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.classHistory.class",
"path" : "Encounter.classHistory.class",
"short" : "inpatient | outpatient | ambulatory | emergency +",
"definition" : "inpatient | outpatient | ambulatory | emergency +.",
"min" : 1,
"max" : "1",
"type" : [
{
"code" : "Coding"
}
],
"binding" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "EncounterClass"
}
],
"strength" : "extensible",
"description" : "Classification of the encounter",
"valueSetReference" : {
"reference" : "http://hl7.org/fhir/ValueSet/v3-ActEncounterCode"
}
},
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.classHistory.period",
"path" : "Encounter.classHistory.period",
"short" : "The time that the episode was in the specified class",
"definition" : "The time that the episode was in the specified class.",
"min" : 1,
"max" : "1",
"type" : [
{
"code" : "Period"
}
],
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.type",
"path" : "Encounter.type",
"short" : "Specific type of encounter",
"definition" : "Specific type of encounter (e.g. e-mail consultation, surgical day-care, skilled nursing, rehabilitation).",
"comment" : "Since there are many ways to further classify encounters, this element is 0..*.",
"min" : 0,
"max" : "*",
"type" : [
{
"code" : "CodeableConcept"
}
],
"isSummary" : true,
"binding" : {
"strength" : "extensible",
"valueSetReference" : {
"reference" : "http://hl7.org/fhir/ValueSet/v3-ActEncounterCode"
}
},
"mapping" : [
{
"identity" : "v2",
"map" : "PV1-4 / PV1-18"
},
{
"identity" : "rim",
"map" : ".code"
},
{
"identity" : "w5",
"map" : "class"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.priority",
"path" : "Encounter.priority",
"short" : "Indicates the urgency of the encounter",
"definition" : "Indicates the urgency of the encounter.",
"min" : 0,
"max" : "1",
"type" : [
{
"code" : "CodeableConcept"
}
],
"binding" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "Priority"
}
],
"strength" : "example",
"description" : "Indicates the urgency of the encounter.",
"valueSetReference" : {
"reference" : "http://hl7.org/fhir/ValueSet/v3-ActPriority"
}
},
"mapping" : [
{
"identity" : "v2",
"map" : "PV2-25"
},
{
"identity" : "rim",
"map" : ".priorityCode"
},
{
"identity" : "w5",
"map" : "grade"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.subject",
"path" : "Encounter.subject",
"short" : "The patient ro group present at the encounter",
"definition" : "The patient ro group present at the encounter.",
"comment" : "While the encounter is always about the patient, the patient may not actually be known in all contexts of use, and there may be a group of patients that could be anonymous (such as in a group therapy for Alcoholics Anonymous - where the recording of the encounter could be used for billing on the number of people/staff and not important to the context of the specific patients) or alternately in veterinary care a herd of sheep receiving treatment (where the animals are not individually tracked).",
"alias" : [
"patient"
],
"min" : 0,
"max" : "1",
"type" : [
{
"code" : "Reference",
"targetProfile" : "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"
}
],
"isSummary" : true,
"mapping" : [
{
"identity" : "v2",
"map" : "PID-3"
},
{
"identity" : "rim",
"map" : ".participation[typeCode=SBJ]/role[classCode=PAT]"
},
{
"identity" : "w5",
"map" : "who.focus"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.episodeOfCare",
"path" : "Encounter.episodeOfCare",
"short" : "Episode(s) of care that this encounter should be recorded against",
"definition" : "Where a specific encounter should be classified as a part of a specific episode(s) of care this field should be used. This association can facilitate grouping of related encounters together for a specific purpose, such as government reporting, issue tracking, association via a common problem. The association is recorded on the encounter as these are typically created after the episode of care, and grouped on entry rather than editing the episode of care to append another encounter to it (the episode of care could span years).",
"min" : 0,
"max" : "*",
"type" : [
{
"code" : "Reference",
"targetProfile" : "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare"
}
],
"isSummary" : true,
"mapping" : [
{
"identity" : "v2",
"map" : "PV1-54, PV1-53"
},
{
"identity" : "rim",
"map" : "n/a"
},
{
"identity" : "w5",
"map" : "context"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.incomingReferral",
"path" : "Encounter.incomingReferral",
"short" : "The ReferralRequest that initiated this encounter",
"definition" : "The referral request this encounter satisfies (incoming referral).",
"min" : 0,
"max" : "*",
"type" : [
{
"code" : "Reference",
"targetProfile" : "http://hl7.org/fhir/StructureDefinition/ReferralRequest"
}
],
"mapping" : [
{
"identity" : "rim",
"map" : ".reason.ClinicalDocument"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.participant",
"path" : "Encounter.participant",
"short" : "List of participants involved in the encounter",
"definition" : "The list of people responsible for providing the service.",
"min" : 0,
"max" : "*",
"type" : [
{
"code" : "BackboneElement"
}
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() | (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "Element"
}
],
"isSummary" : true,
"mapping" : [
{
"identity" : "v2",
"map" : "ROL"
},
{
"identity" : "rim",
"map" : ".participation[typeCode=PFM]"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.participant.id",
"path" : "Encounter.participant.id",
"representation" : [
"xmlAttr"
],
"short" : "xml:id (or equivalent in JSON)",
"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"
}
],
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.participant.extension",
"path" : "Encounter.participant.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 element. In order 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 is allowed to 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"
}
],
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.participant.modifierExtension",
"path" : "Encounter.participant.modifierExtension",
"short" : "Extensions that cannot be ignored",
"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 that contains it. Usually modifier elements provide negation or qualification. In order 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 is allowed to 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.",
"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",
"modifiers"
],
"min" : 0,
"max" : "*",
"base" : {
"path" : "BackboneElement.modifierExtension",
"min" : 0,
"max" : "*"
},
"type" : [
{
"code" : "Extension"
}
],
"isModifier" : true,
"isSummary" : true,
"mapping" : [
{
"identity" : "rim",
"map" : "N/A"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.participant.type",
"path" : "Encounter.participant.type",
"short" : "Role of participant in encounter",
"definition" : "Role of participant in encounter.",
"comment" : "The participant type indicates how an individual partitipates in an encounter. It includes non-practitioner participants, and for practitioners this is to describe the action type in the context of this encounter (e.g. Admitting Dr, Attending Dr, Translator, Consulting Dr). This is different to the practitioner roles which are functional roles, derived from terms of employment, education, licensing, etc.",
"min" : 0,
"max" : "*",
"type" : [
{
"code" : "CodeableConcept"
}
],
"isSummary" : true,
"binding" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "ParticipantType"
}
],
"strength" : "extensible",
"description" : "Role of participant in encounter",
"valueSetReference" : {
"reference" : "http://hl7.org/fhir/ValueSet/encounter-participant-type"
}
},
"mapping" : [
{
"identity" : "v2",
"map" : "ROL-3 (or maybe PRT-4)"
},
{
"identity" : "rim",
"map" : ".functionCode"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.participant.period",
"path" : "Encounter.participant.period",
"short" : "Period of time during the encounter that the participant participated",
"definition" : "The period of time that the specified participant participated in the encounter. These can overlap or be sub-sets of the overall encounter's period.",
"min" : 0,
"max" : "1",
"type" : [
{
"code" : "Period"
}
],
"mapping" : [
{
"identity" : "v2",
"map" : "ROL-5, ROL-6 (or maybe PRT-5)"
},
{
"identity" : "rim",
"map" : ".time"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.participant.individual",
"path" : "Encounter.participant.individual",
"short" : "Persons involved in the encounter other than the patient",
"definition" : "Persons involved in the encounter other than the patient.",
"min" : 0,
"max" : "1",
"type" : [
{
"code" : "Reference",
"targetProfile" : "http://hl7.org/fhir/StructureDefinition/Practitioner"
},
{
"code" : "Reference",
"targetProfile" : "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
}
],
"isSummary" : true,
"mapping" : [
{
"identity" : "v2",
"map" : "ROL-4"
},
{
"identity" : "rim",
"map" : ".role"
},
{
"identity" : "w5",
"map" : "who"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.appointment",
"path" : "Encounter.appointment",
"short" : "The appointment that scheduled this encounter",
"definition" : "The appointment that scheduled this encounter.",
"min" : 0,
"max" : "1",
"type" : [
{
"code" : "Reference",
"targetProfile" : "http://hl7.org/fhir/StructureDefinition/Appointment"
}
],
"isSummary" : true,
"mapping" : [
{
"identity" : "v2",
"map" : "SCH-1 / SCH-2"
},
{
"identity" : "rim",
"map" : ".outboundRelationship[typeCode=FLFS].target[classCode=ENC, moodCode=APT]"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.period",
"path" : "Encounter.period",
"short" : "The start and end time of the encounter",
"definition" : "The start and end time of the encounter.",
"comment" : "If not (yet) known, the end of the Period may be omitted.",
"min" : 0,
"max" : "1",
"type" : [
{
"code" : "Period"
}
],
"mapping" : [
{
"identity" : "v2",
"map" : "PV1-44, PV1-45"
},
{
"identity" : "rim",
"map" : ".effectiveTime (low & high)"
},
{
"identity" : "w5",
"map" : "when.done"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.length",
"path" : "Encounter.length",
"short" : "Quantity of time the encounter lasted (less time absent)",
"definition" : "Quantity of time the encounter lasted. This excludes the time during leaves of absence.",
"comment" : "May differ from the time the Encounter.period lasted because of leave of absence.",
"min" : 0,
"max" : "1",
"type" : [
{
"code" : "Duration"
}
],
"mapping" : [
{
"identity" : "v2",
"map" : "(PV1-45 less PV1-44) iff ( (PV1-44 not empty) and (PV1-45 not empty) ); units in minutes"
},
{
"identity" : "rim",
"map" : ".lengthOfStayQuantity"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.reason",
"path" : "Encounter.reason",
"short" : "Reason the encounter takes place (code)",
"definition" : "Reason the encounter takes place, expressed as a code. For admissions, this can be used for a coded admission diagnosis.",
"comment" : "For systems that need to know which was the primary diagnosis, these will be marked with the standard extension primaryDiagnosis (which is a sequence value rather than a flag, 1 = primary diagnosis).",
"alias" : [
"Indication",
"Admission diagnosis"
],
"min" : 0,
"max" : "*",
"type" : [
{
"code" : "CodeableConcept"
}
],
"isSummary" : true,
"binding" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "EncounterReason"
}
],
"strength" : "preferred",
"description" : "Reason why the encounter takes place.",
"valueSetReference" : {
"reference" : "http://hl7.org/fhir/ValueSet/encounter-reason"
}
},
"mapping" : [
{
"identity" : "v2",
"map" : "EVN-4 / PV2-3 (note: PV2-3 is nominally constrained to inpatient admissions; HL7 v2 makes no vocabulary suggestions for PV2-3; would not expect PV2 segment or PV2-3 to be in use in all implementations )"
},
{
"identity" : "rim",
"map" : ".reasonCode"
},
{
"identity" : "w5",
"map" : "why"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.diagnosis",
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
"valueString" : "Diagnosis"
}
],
"path" : "Encounter.diagnosis",
"short" : "The list of diagnosis relevant to this encounter",
"definition" : "The list of diagnosis relevant to this encounter.",
"min" : 0,
"max" : "*",
"type" : [
{
"code" : "BackboneElement"
}
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() | (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "Element"
}
],
"isSummary" : true,
"mapping" : [
{
"identity" : "rim",
"map" : ".outboundRelationship[typeCode=RSON]"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.diagnosis.id",
"path" : "Encounter.diagnosis.id",
"representation" : [
"xmlAttr"
],
"short" : "xml:id (or equivalent in JSON)",
"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"
}
],
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.diagnosis.extension",
"path" : "Encounter.diagnosis.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 element. In order 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 is allowed to 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"
}
],
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.diagnosis.modifierExtension",
"path" : "Encounter.diagnosis.modifierExtension",
"short" : "Extensions that cannot be ignored",
"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 that contains it. Usually modifier elements provide negation or qualification. In order 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 is allowed to 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.",
"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",
"modifiers"
],
"min" : 0,
"max" : "*",
"base" : {
"path" : "BackboneElement.modifierExtension",
"min" : 0,
"max" : "*"
},
"type" : [
{
"code" : "Extension"
}
],
"isModifier" : true,
"isSummary" : true,
"mapping" : [
{
"identity" : "rim",
"map" : "N/A"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.diagnosis.condition",
"path" : "Encounter.diagnosis.condition",
"short" : "Reason the encounter takes place (resource)",
"definition" : "Reason the encounter takes place, as specified using information from another resource. For admissions, this is the admission diagnosis. The indication will typically be a Condition (with other resources referenced in the evidence.detail), or a Procedure.",
"comment" : "For systems that need to know which was the primary diagnosis, these will be marked with the standard extension primaryDiagnosis (which is a sequence value rather than a flag, 1 = primary diagnosis).",
"alias" : [
"Admission diagnosis",
"discharge diagnosis",
"indication"
],
"min" : 1,
"max" : "1",
"type" : [
{
"code" : "Reference",
"targetProfile" : "http://hl7.org/fhir/StructureDefinition/Condition"
},
{
"code" : "Reference",
"targetProfile" : "http://hl7.org/fhir/StructureDefinition/Procedure"
}
],
"mapping" : [
{
"identity" : "v2",
"map" : "Resources that would commonly referenced at Encounter.indication would be Condition and/or Procedure. These most closely align with DG1/PRB and PR1 respectively."
},
{
"identity" : "rim",
"map" : ".outboundRelationship[typeCode=RSON].target"
},
{
"identity" : "w5",
"map" : "why"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.diagnosis.role",
"path" : "Encounter.diagnosis.role",
"short" : "Role that this diagnosis has within the encounter (e.g. admission, billing, discharge …)",
"definition" : "Role that this diagnosis has within the encounter (e.g. admission, billing, discharge …).",
"min" : 0,
"max" : "1",
"type" : [
{
"code" : "CodeableConcept"
}
],
"binding" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "DiagnosisRole"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
"valueBoolean" : true
}
],
"strength" : "preferred",
"description" : "The type of diagnosis this condition represents",
"valueSetReference" : {
"reference" : "http://hl7.org/fhir/ValueSet/diagnosis-role"
}
},
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.diagnosis.rank",
"path" : "Encounter.diagnosis.rank",
"short" : "Ranking of the diagnosis (for each role type)",
"definition" : "Ranking of the diagnosis (for each role type).",
"min" : 0,
"max" : "1",
"type" : [
{
"code" : "positiveInt"
}
],
"mapping" : [
{
"identity" : "rim",
"map" : ".outboundRelationship[typeCode=RSON].priority"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.account",
"path" : "Encounter.account",
"short" : "The set of accounts that may be used for billing for this Encounter",
"definition" : "The set of accounts that may be used for billing for this Encounter.",
"comment" : "The billing system may choose to allocate billable items associated with the Encounter to different referenced Accounts based on internal business rules.",
"min" : 0,
"max" : "*",
"type" : [
{
"code" : "Reference",
"targetProfile" : "http://hl7.org/fhir/StructureDefinition/Account"
}
],
"mapping" : [
{
"identity" : "rim",
"map" : ".pertains.A_Account"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.hospitalization",
"path" : "Encounter.hospitalization",
"short" : "Details about the admission to a healthcare service",
"definition" : "Details about the admission to a healthcare service.",
"comment" : "An Encounter may cover more than just the inpatient stay. Contexts such as outpatients, community clinics, and aged care facilities are also included.
The duration recorded in the period of this encounter covers the entire scope of this hospitalization record.",
"min" : 0,
"max" : "1",
"type" : [
{
"code" : "BackboneElement"
}
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() | (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "Element"
}
],
"mapping" : [
{
"identity" : "rim",
"map" : ".outboundRelationship[typeCode=COMP].target[classCode=ENC, moodCode=EVN]"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.hospitalization.id",
"path" : "Encounter.hospitalization.id",
"representation" : [
"xmlAttr"
],
"short" : "xml:id (or equivalent in JSON)",
"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"
}
],
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.hospitalization.extension",
"path" : "Encounter.hospitalization.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 element. In order 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 is allowed to 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"
}
],
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.hospitalization.modifierExtension",
"path" : "Encounter.hospitalization.modifierExtension",
"short" : "Extensions that cannot be ignored",
"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 that contains it. Usually modifier elements provide negation or qualification. In order 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 is allowed to 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.",
"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",
"modifiers"
],
"min" : 0,
"max" : "*",
"base" : {
"path" : "BackboneElement.modifierExtension",
"min" : 0,
"max" : "*"
},
"type" : [
{
"code" : "Extension"
}
],
"isModifier" : true,
"isSummary" : true,
"mapping" : [
{
"identity" : "rim",
"map" : "N/A"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.hospitalization.preAdmissionIdentifier",
"path" : "Encounter.hospitalization.preAdmissionIdentifier",
"short" : "Pre-admission identifier",
"definition" : "Pre-admission identifier.",
"min" : 0,
"max" : "1",
"type" : [
{
"code" : "Identifier"
}
],
"mapping" : [
{
"identity" : "v2",
"map" : "PV1-5"
},
{
"identity" : "rim",
"map" : ".id"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.hospitalization.origin",
"path" : "Encounter.hospitalization.origin",
"short" : "The location from which the patient came before admission",
"definition" : "The location from which the patient came before admission.",
"min" : 0,
"max" : "1",
"type" : [
{
"code" : "Reference",
"targetProfile" : "http://hl7.org/fhir/StructureDefinition/Location"
}
],
"mapping" : [
{
"identity" : "rim",
"map" : ".participation[typeCode=ORG].role"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.hospitalization.admitSource",
"path" : "Encounter.hospitalization.admitSource",
"short" : "From where patient was admitted (physician referral, transfer)",
"definition" : "From where patient was admitted (physician referral, transfer).",
"min" : 0,
"max" : "1",
"type" : [
{
"code" : "CodeableConcept"
}
],
"binding" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "AdmitSource"
}
],
"strength" : "preferred",
"description" : "From where the patient was admitted.",
"valueSetReference" : {
"reference" : "http://hl7.org/fhir/ValueSet/encounter-admit-source"
}
},
"mapping" : [
{
"identity" : "v2",
"map" : "PV1-14"
},
{
"identity" : "rim",
"map" : ".admissionReferralSourceCode"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.hospitalization.reAdmission",
"path" : "Encounter.hospitalization.reAdmission",
"short" : "The type of hospital re-admission that has occurred (if any). If the value is absent, then this is not identified as a readmission",
"definition" : "Whether this hospitalization is a readmission and why if known.",
"min" : 0,
"max" : "1",
"type" : [
{
"code" : "CodeableConcept"
}
],
"binding" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "ReAdmissionType"
}
],
"strength" : "example",
"description" : "The reason for re-admission of this hospitalization encounter.",
"valueSetReference" : {
"reference" : "http://hl7.org/fhir/ValueSet/v2-0092"
}
},
"mapping" : [
{
"identity" : "v2",
"map" : "PV1-13"
},
{
"identity" : "rim",
"map" : "n/a"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.hospitalization.dietPreference",
"path" : "Encounter.hospitalization.dietPreference",
"short" : "Diet preferences reported by the patient",
"definition" : "Diet preferences reported by the patient.",
"comment" : "For example a patient may request both a dairy-free and nut-free diet preference (not mutually exclusive).",
"requirements" : "Used to track patient's diet restrictions and/or preference. For a complete description of the nutrition needs of a patient during their stay, one should use the nutritionOrder resource which links to Encounter.",
"min" : 0,
"max" : "*",
"type" : [
{
"code" : "CodeableConcept"
}
],
"binding" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "PatientDiet"
}
],
"strength" : "example",
"description" : "Medical, cultural or ethical food preferences to help with catering requirements.",
"valueSetReference" : {
"reference" : "http://hl7.org/fhir/ValueSet/encounter-diet"
}
},
"mapping" : [
{
"identity" : "v2",
"map" : "PV1-38"
},
{
"identity" : "rim",
"map" : ".outboundRelationship[typeCode=COMP].target[classCode=SBADM, moodCode=EVN, code="diet"]"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.hospitalization.specialCourtesy",
"path" : "Encounter.hospitalization.specialCourtesy",
"short" : "Special courtesies (VIP, board member)",
"definition" : "Special courtesies (VIP, board member).",
"min" : 0,
"max" : "*",
"type" : [
{
"code" : "CodeableConcept"
}
],
"binding" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "Courtesies"
}
],
"strength" : "preferred",
"description" : "Special courtesies",
"valueSetReference" : {
"reference" : "http://hl7.org/fhir/ValueSet/encounter-special-courtesy"
}
},
"mapping" : [
{
"identity" : "v2",
"map" : "PV1-16"
},
{
"identity" : "rim",
"map" : ".specialCourtesiesCode"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.hospitalization.specialArrangement",
"path" : "Encounter.hospitalization.specialArrangement",
"short" : "Wheelchair, translator, stretcher, etc.",
"definition" : "Any special requests that have been made for this hospitalization encounter, such as the provision of specific equipment or other things.",
"min" : 0,
"max" : "*",
"type" : [
{
"code" : "CodeableConcept"
}
],
"binding" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "Arrangements"
}
],
"strength" : "preferred",
"description" : "Special arrangements",
"valueSetReference" : {
"reference" : "http://hl7.org/fhir/ValueSet/encounter-special-arrangements"
}
},
"mapping" : [
{
"identity" : "v2",
"map" : "PV1-15 / OBR-30 / OBR-43"
},
{
"identity" : "rim",
"map" : ".specialArrangementCode"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.hospitalization.destination",
"path" : "Encounter.hospitalization.destination",
"short" : "Location to which the patient is discharged",
"definition" : "Location to which the patient is discharged.",
"min" : 0,
"max" : "1",
"type" : [
{
"code" : "Reference",
"targetProfile" : "http://hl7.org/fhir/StructureDefinition/Location"
}
],
"mapping" : [
{
"identity" : "v2",
"map" : "PV1-37"
},
{
"identity" : "rim",
"map" : ".participation[typeCode=DST]"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.hospitalization.dischargeDisposition",
"path" : "Encounter.hospitalization.dischargeDisposition",
"short" : "Category or kind of location after discharge",
"definition" : "Category or kind of location after discharge.",
"min" : 0,
"max" : "1",
"type" : [
{
"code" : "CodeableConcept"
}
],
"binding" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "DischargeDisp"
}
],
"strength" : "example",
"description" : "Discharge Disposition",
"valueSetReference" : {
"reference" : "http://hl7.org/fhir/ValueSet/encounter-discharge-disposition"
}
},
"mapping" : [
{
"identity" : "v2",
"map" : "PV1-36"
},
{
"identity" : "rim",
"map" : ".dischargeDispositionCode"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.location",
"path" : "Encounter.location",
"short" : "List of locations where the patient has been",
"definition" : "List of locations where the patient has been during this encounter.",
"comment" : "Virtual encounters can be recorded in the Encounter by specifying a location reference to a location of type "kind" such as "client's home" and an encounter.class = "virtual".",
"min" : 0,
"max" : "*",
"type" : [
{
"code" : "BackboneElement"
}
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() | (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "Element"
}
],
"mapping" : [
{
"identity" : "rim",
"map" : ".participation[typeCode=LOC]"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.location.id",
"path" : "Encounter.location.id",
"representation" : [
"xmlAttr"
],
"short" : "xml:id (or equivalent in JSON)",
"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"
}
],
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.location.extension",
"path" : "Encounter.location.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 element. In order 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 is allowed to 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"
}
],
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.location.modifierExtension",
"path" : "Encounter.location.modifierExtension",
"short" : "Extensions that cannot be ignored",
"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 that contains it. Usually modifier elements provide negation or qualification. In order 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 is allowed to 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.",
"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",
"modifiers"
],
"min" : 0,
"max" : "*",
"base" : {
"path" : "BackboneElement.modifierExtension",
"min" : 0,
"max" : "*"
},
"type" : [
{
"code" : "Extension"
}
],
"isModifier" : true,
"isSummary" : true,
"mapping" : [
{
"identity" : "rim",
"map" : "N/A"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.location.location",
"path" : "Encounter.location.location",
"short" : "Location the encounter takes place",
"definition" : "The location where the encounter takes place.",
"min" : 1,
"max" : "1",
"type" : [
{
"code" : "Reference",
"targetProfile" : "http://hl7.org/fhir/StructureDefinition/Location"
}
],
"mapping" : [
{
"identity" : "v2",
"map" : "PV1-3 / PV1-6 / PV1-11 / PV1-42 / PV1-43"
},
{
"identity" : "rim",
"map" : ".role"
},
{
"identity" : "w5",
"map" : "where"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.location.status",
"path" : "Encounter.location.status",
"short" : "planned | active | reserved | completed",
"definition" : "The status of the participants' presence at the specified location during the period specified. If the participant is is no longer at the location, then the period will have an end date/time.",
"comment" : "When the patient is no longer active at a location, then the period end date is entered, and the status may be changed to completed.",
"min" : 0,
"max" : "1",
"type" : [
{
"code" : "code"
}
],
"binding" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "EncounterLocationStatus"
}
],
"strength" : "required",
"description" : "The status of the location.",
"valueSetReference" : {
"reference" : "http://hl7.org/fhir/ValueSet/encounter-location-status"
}
},
"mapping" : [
{
"identity" : "rim",
"map" : ".role.statusCode"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.location.period",
"path" : "Encounter.location.period",
"short" : "Time period during which the patient was present at the location",
"definition" : "Time period during which the patient was present at the location.",
"min" : 0,
"max" : "1",
"type" : [
{
"code" : "Period"
}
],
"mapping" : [
{
"identity" : "rim",
"map" : ".time"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.serviceProvider",
"path" : "Encounter.serviceProvider",
"short" : "The custodian organization of this Encounter record",
"definition" : "An organization that is in charge of maintaining the information of this Encounter (e.g. who maintains the report or the master service catalog item, etc.). This MAY be the same as the organization on the Patient record, however it could be different. This MAY not be not the Service Delivery Location's Organization.",
"min" : 0,
"max" : "1",
"type" : [
{
"code" : "Reference",
"targetProfile" : "http://hl7.org/fhir/StructureDefinition/Organization"
}
],
"mapping" : [
{
"identity" : "v2",
"map" : "PV1-10 / PL.6 & PL.1 (note: HL7 v2 definition is "the treatment or type of surgery that the patient is scheduled to receive"; seems slightly out of alignment with the concept name 'hospital service'. Would not trust that implementations apply this semantic by default)"
},
{
"identity" : "rim",
"map" : ".particiaption[typeCode=PFM].role"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.partOf",
"path" : "Encounter.partOf",
"short" : "Another Encounter this encounter is part of",
"definition" : "Another Encounter of which this encounter is a part of (administratively or in time).",
"comment" : "This is also used for associating a child's encounter back to the mother's encounter.
Refer to the Notes section in the Patient resource for further details.",
"min" : 0,
"max" : "1",
"type" : [
{
"code" : "Reference",
"targetProfile" : "http://hl7.org/fhir/StructureDefinition/Encounter"
}
],
"mapping" : [
{
"identity" : "rim",
"map" : ".inboundRelationship[typeCode=COMP].source[classCode=COMP, moodCode=EVN]"
}
]
}
]
},
"differential" : {
"element" : [
{
"id" : "Encounter:cimi-encounter-Encounter",
"path" : "Encounter",
"short" : "SW Encounter Profile",
"definition" : "A description of an interaction between a patient and healthcare provider(s) for the purpose of providing healthcare service(s) or assessing the health status of a patient."
},
{
"id" : "Encounter:cimi-encounter-Encounter.extension:recorded",
"path" : "Encounter.extension",
"sliceName" : "recorded",
"definition" : "The person who entered the order on behalf of another individual for example in the case of a verbal or a telephone order.",
"min" : 0,
"max" : "1",
"type" : [
{
"code" : "Extension",
"profile" : "http://hl7.org/fhir/us/sw/StructureDefinition/cimi-core-Recorded-extension"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.extension:signed",
"path" : "Encounter.extension",
"sliceName" : "signed",
"definition" : "Provenance information specific to the signing of the clinical statement.",
"min" : 0,
"max" : "1",
"type" : [
{
"code" : "Extension",
"profile" : "http://hl7.org/fhir/us/sw/StructureDefinition/cimi-core-Signed-extension"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.extension:additionaltext",
"path" : "Encounter.extension",
"sliceName" : "additionaltext",
"definition" : "A text note containing additional details, explanation, description, comment, or summarization. Details can discuss, support, explain changes to, or dispute information.",
"min" : 0,
"max" : "1",
"type" : [
{
"code" : "Extension",
"profile" : "http://hl7.org/fhir/us/sw/StructureDefinition/cimi-core-AdditionalText-extension"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.extension:encounterclass",
"path" : "Encounter.extension",
"sliceName" : "encounterclass",
"definition" : "Concepts representing classification of patient encounter such as ambulatory (outpatient), inpatient, emergency, home health or others due to local variations.",
"min" : 0,
"max" : "1",
"type" : [
{
"code" : "Extension",
"profile" : "http://hl7.org/fhir/us/sw/StructureDefinition/cimi-encounter-EncounterClass-extension"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.extension:partof",
"path" : "Encounter.extension",
"sliceName" : "partof",
"definition" : "The larger entity that this is a portion of. For example, an organization might be part of a larger organization, or an encounter with a hospitalist might be part of a larger hospitalization encounter.",
"min" : 0,
"max" : "1",
"type" : [
{
"code" : "Extension",
"profile" : "http://hl7.org/fhir/us/sw/StructureDefinition/cimi-element-PartOf-extension"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.extension:partof.extension",
"path" : "Encounter.extension.extension",
"min" : 1,
"max" : "*"
},
{
"id" : "Encounter:cimi-encounter-Encounter.extension:diagnosis",
"path" : "Encounter.extension",
"sliceName" : "diagnosis",
"definition" : "A diagnosis, which is a disease or injury determined to be present through evaluation of patient history, examination, and/or review of laboratory data.",
"min" : 0,
"max" : "*",
"type" : [
{
"code" : "Extension",
"profile" : "http://hl7.org/fhir/us/sw/StructureDefinition/cimi-encounter-Diagnosis-extension"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.extension:clinicalnote",
"path" : "Encounter.extension",
"sliceName" : "clinicalnote",
"definition" : "An entry concerning a patient where the result is a narrative text.",
"min" : 0,
"max" : "1",
"type" : [
{
"code" : "Extension",
"profile" : "http://hl7.org/fhir/us/sw/StructureDefinition/cimi-statement-ClinicalNote-extension"
}
]
},
{
"id" : "Encounter:cimi-encounter-Encounter.type",
"path" : "Encounter.type",
"binding" : {
"strength" : "extensible",
"valueSetReference" : {
"reference" : "http://hl7.org/fhir/ValueSet/v3-ActEncounterCode"
}
}
},
{
"id" : "Encounter:cimi-encounter-Encounter.subject",
"path" : "Encounter.subject",
"type" : [
{
"code" : "Reference",
"targetProfile" : "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"
}
]
}
]
}
}


The Benefits of Performing a Cohort Analysis in Determining Engagement Over Time
A cohort analysis is a type of study which is mainly conducted by observation over a period of time. It works by analyzing a given group of individuals who have a trait or experience in common, within a given time. It is a great tool used in retaining customers and it is especially useful for business owners who have websites.
Since more visitors to the site generally translate into more business, it is important to retain these clients and monitor the regularity with which they come back.
The term engagement is used to describe the time that is spent accessing the product. It denotes frequency and it is essential to measure this level and analyze it as it relates to certain intervals.
Examples:
- Time to first purchase or engagement (e.g. follow, post, signup)
- % activating in first day, week, month, etc. (B2C vs. B2B)
- Repeat rate, 2x%2B repeat rate, 3x%2B repeat rate, etc.
- How does first purchase (or engagement proxy) impact future revenue/engagement?
- Email Opt-out behavior or member churn
Benefits of Conducting an Effective Cohort Analysis
Accuracy
Performing a cohort analysis is a highly effective method of study as it helps to separate the clients into cohorts. Thus, individuals who joined the site during a particular period are grouped together e.g. the March cohort, the April cohort and so on. This way, the analysis of their engagement and how it has changed over time, is unaffected by the individuals in other groups, thus keeping the groups completely independent of one another; and facilitating a more accurate study.
Providing a clear distinction between Growth and Engagement
Separating the clients into cohorts is also effective in clearly defining a difference between growth metrics and engagement metrics. These two measurements can sometimes be confused with each other as growth is the successful addition of clients who use one’s product or service. Generally, added numbers automatically increase the overall engagement but it may only be the new clients who access the website, and will probably cease to do so after a while.
Performing a cohort analysis therefore helps one to make a distinction between the two and as a result, the rate of growth, which may be high, does not hide any issues that may need to be addressed as far as engagement or participation and interaction with the product, is concerned. These issues are therefore identified and effectively dealt with in order to facilitate higher retention.
Effective Comparison of data between Cohorts
A cohort analysis also helps one to compare the results between two or more groups. For instance, if the April cohort is more engaged in the product than the March cohort, an analysis may be required on any changes that may have occurred between the two months. In addition, a further analysis may be performed on the groups themselves to see whether the product is possibly appealing to a particular set of people and not another.
Studying a Wide Range of Data
By performing a cohort analysis, it is possible to effectively study data across the five major metrics (AARRR) for start-ups:
- Acquisition: the cost of acquiring first-time users
- Activation: the speed at which clients are becoming active, including events, in addition to various actions on the website
- Retention: the ability to retain a client who is engaged in the service - they make purchases and are basically a source of recurring revenue
- Referral: rate at which people are inviting others to the site, as well as the rate at which the invitees yield to the invitations and actually visit the site
- Revenue: first point of purchase as far as the client is concerned.
Each of these metrics is important and it is therefore essential that an eye be kept on them to recognize when changes need to be made. A cohort analysis enables one to do just that, without using multiple tools.
Facilitating speedy Decision Making
A cohort analysis also helps in identifying times when engagement in the site drops. Since it is a study that takes time into consideration, decisions can be made fast in an effort to rectify the problem areas that may have resulted in the drop. By factoring-in time, there is a clear temporal sequence when analyzing the relationship between first contact with the website, and consequent results.
Video
Check out the video!
The video illustrates how a cohort analysis is performed. In my opinion Excel is the best tool to use for cohort analysis as it’s much easier than say Mixpanel or Kissmetrics - plus you get your hands dirty and (hopefully) gain an understanding of your data. Although, I really do like RJMetrics for cohort analysis as well.
Dummy data has been used on the premise that the business has been operating for an entire year.
That said the data has been generated from real data, which I obtained using Zapier. With Zapier, you can easily source data from hundreds of locations like Salesforce, ZenDesk, Zoho, MySQL, and Shopify.
The video begins with showing you how to divide the users of a service into cohorts, based on the time that they first subscribed for the services. The retention rate has also been included. These values are obtained by dividing the number of users, who are still subscribing after a particular month, by the total number of users who started in each category. The average retention rate is therefore obtained by calculating the average across the cohort.


{% extends "../main.html" %} {% block title %}Welcome{% end %} {% block content %}
Root the Box is a computer hacking (CTF) game that requires skill, speed and team work. Each team must scan and exploit systems on the attack network. If a team successfully obtains remote code execution they can upload a reporting service, which awards them points over time. Every time a box is successfully pwned its point value drops, so to get the most points you must be the first team to get root. Teams can also steal points from one another by cracking each other's password hashes which are publicly displayed by the scoring engine.
{% end %}


Add Entry
Add your name, your card and your twitter handle (optional) so people can find you!
If you need to update your card name, enter your row ID, fill in all the details (including your new card name) and you will be updated in the list!
Add your name, your card and your twitter handle (optional) so people can find you!
If you need to update your card name, enter your row ID, fill in all the details (including your new card name) and you will be updated in the list!


The Brothers of Charity are a religious institute of Religious Brothers and associate members at the service of the people most in need in the field of education and health care. The institute was founded in 1807 by Peter Joseph Triest in Ghent, Belgium. He also founded three...


Sharing
read only
read/write
Sharing preference is restrained by folder preference.
This {{::type}} belongs to
.
private
Only you can access the file.
public
read only
Anyone with the link can read the file.
public
read/write
Signed in users with the link can modify the file.
private
Only you can access the folder.
public
read only
Anyone with the link can read the folder and all its files.
public
read/write
Signed in users with the link can modify the folder and all its files.


Have you ever been on a bad date and needed an excuse to escape? Gone are the days where you have to rely on your friend to make up an excuse for you to leave, now there's UGood: your quick exit strategy. Just discreetly trigger the app, wait a minute, and surprise! You suddenly have an incoming text from your "friend" saying that they're having a family emergency and need your help immediately, giving you the perfect excuse to leave. Don't think it seems real enough? You can respond to the text and get more messages, making it seem like an authentic cry for help. This app hopefully can help users escape situations where they feel uncomfortable or unsafe, and also provides resources for learning more about human trafficking, safe dating tips, and resources for survivors of sexual assult. In the future, we hope to be able to use data collected from the user through text to send information to police in an emergency.
My group and I created this app for the TechTogether Boston Hackathon 2020. We originally started coding the frontend in Ionic since we wanted it to be a native app, but quickly realized that we would need more time to make that a reality. We switched over to coding the app in React for demo purposes and made it mobile-first, so if you're viewing it in the browser, please switch your browser to mobile view. Going forward, we will be continuing to work on the app and transferring it over to React Native so that we can hopefully make it into a working mobile app.
This app is currently still under construction... come back later to test it out and see updates!


Enumeration
ArticleCondition
public enum ArticleCondition
An enum that expresses conditions when searching for articles.
ArticleCondition
public enum ArticleCondition
An enum that expresses conditions when searching for articles.


KSh 19000
The main volume, the high tone adjustment and the bass adjustment are all adjusted by the analog components to upgrade the mini mixer, allowing you to play the music world and give you the real HIFI sound effect. This machine has a USB interface, and a built-in MP3 pointer is used to download the music you like to the disk and insert it into the machine, and instantly plug and play without waiting. Full function infrared control, convenient man-machine dialogue, make its function operation simple and easy to understand, let you do whatever you want. It can support many people to sing at the same time. Let you and your friends enjoy the fun of singing. Wireless Bluetooth, easy to connect iPhone, ipad, smart phones, tablet computers and other Bluetooth devices, USB interface, that is, broadcast and use, and enjoy high quality music.
| Description | Specification |
|---|---|
| SKU | GE840EL10RN8RNAFAMZ |
| Weight | (kg) 1.18 |
| Display size | (L x W x H cm) 19X19X6 |
| Product Warranty | 6 months |


404
404: The journey of life is filled with many disappointments.....this is one of them.
The page you were trying to reach
is unavailable. Just like this cutie is unavailable.
But don't worry, you can find your own best friend by returning to view more pets.


--- date: 2015-06-16 07:00:02 author: Jen Gray title: "PhoneGap Day EU 2015: Making High Performance PhoneGap Apps" format: html tags: - PhoneGap Day - Event - Community ---
A big thanks to everyone who was able to make it to PhoneGap Day EU 2015 in Amsterdam. We'll be posting more videos from the conference so check back on our blog and Youtube channel.
Our next talk comes from Syd Lawrence one of the creators of Snowbuddy. Syd runs We Make Awesome Sh and during his talk he showcases some incredible apps made with PhoneGap and his top 7 tips for making high performance PhoneGap apps.
Slides available here


|
KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
|
This is a experimental process factory utility. More...
#include <process_factory_utility.h>
Public Member Functions | |
Life Cycle | |
| ProcessFactoryUtility ()=default | |
| Default constructors. More... | |
| ProcessFactoryUtility (ListType &ProcessesList) | |
| Constructor using a list of processes. More... | |
| ProcessFactoryUtility (ObjectType &rProcess) | |
| Constructor using just one process. More... | |
| virtual | ~ProcessFactoryUtility ()=default |
| Destructor. More... | |
Operators | |
| ProcessFactoryUtility & | operator= (ProcessFactoryUtility const &rOther)=default |
| Assignment operator. More... | |
Operations | |
| void | AddProcess (ObjectType &rProcess) |
| It add new process to the existing process list. More... | |
| void | AddProcesses (ListType &ProcessesList) |
| It add new processes to the existing process list. More... | |
| void | ExecuteMethod (const std::string &rNameMethod) |
| It executes the method considered in the input. More... | |
| void | ExecuteInitialize () |
| It executes the ExecuteInitialize() from the list of processes. More... | |
| void | ExecuteBeforeSolutionLoop () |
| It executes the ExecuteBeforeSolutionLoop() from the list of processes. More... | |
| void | ExecuteInitializeSolutionStep () |
| It executes the ExecuteInitializeSolutionStep() from the list of processes. More... | |
| void | ExecuteFinalizeSolutionStep () |
| It executes the ExecuteFinalizeSolutionStep() from the list of processes. More... | |
| void | ExecuteBeforeOutputStep () |
| It executes the ExecuteBeforeOutputStep() from the list of processes. More... | |
| void | ExecuteAfterOutputStep () |
| It executes the ExecuteAfterOutputStep() from the list of processes. More... | |
| void | ExecuteFinalize () |
| It executes the ExecuteFinalize() from the list of processes. More... | |
| void | IsOutputStep () |
| It executes the IsOutputStep() from the list of processes. More... | |
| void | PrintOutput () |
| It executes the PrintOutput() from the list of processes. More... | |
| void | Clear () |
| It executes the Clear() from the list of processes. More... | |
Input and output | |
| virtual std::string | Info () const |
| Turn back information as a string. More... | |
| virtual void | PrintInfo (std::ostream &rOStream) const |
| Print information about this object. More... | |
| virtual void | PrintData (std::ostream &rOStream) const |
| Print object's data. More... | |
Type Definitions | |
| using | ObjectType = pybind11::object |
| The object type in python. More... | |
| using | ListType = pybind11::list |
| The list [] of python. More... | |
| KRATOS_CLASS_POINTER_DEFINITION (ProcessFactoryUtility) | |
| Counted pointer of ProcessFactoryUtility. More... | |
Serialization | |
| class | Serializer |
This is a experimental process factory utility.
This class is used in order to interoperate between c++ and python
| using Kratos::ProcessFactoryUtility::ListType = pybind11::list |
The list [] of python.
| using Kratos::ProcessFactoryUtility::ObjectType = pybind11::object |
The object type in python.
|
default |
Default constructors.
| Kratos::ProcessFactoryUtility::ProcessFactoryUtility | ( | ListType & | ProcessesList | ) |
Constructor using a list of processes.
| ProcessesList | List of processes that will be used to build the vector of processes |
| Kratos::ProcessFactoryUtility::ProcessFactoryUtility | ( | ObjectType & | rProcess | ) |
Constructor using just one process.
| rProcess | The process that will be added at the begining of the vector of processes |
|
virtualdefault |
Destructor.
| void Kratos::ProcessFactoryUtility::AddProcess | ( | ObjectType & | rProcess | ) |
It add new process to the existing process list.
| rProcess | The process that will be appended at the vector of processes |
| void Kratos::ProcessFactoryUtility::AddProcesses | ( | ListType & | ProcessesList | ) |
It add new processes to the existing process list.
| ProcessesList | List of processes that will be appended the vector of processes |
| void Kratos::ProcessFactoryUtility::Clear | ( | ) |
It executes the Clear() from the list of processes.
| void Kratos::ProcessFactoryUtility::ExecuteAfterOutputStep | ( | ) |
It executes the ExecuteAfterOutputStep() from the list of processes.
| void Kratos::ProcessFactoryUtility::ExecuteBeforeOutputStep | ( | ) |
It executes the ExecuteBeforeOutputStep() from the list of processes.
| void Kratos::ProcessFactoryUtility::ExecuteBeforeSolutionLoop | ( | ) |
It executes the ExecuteBeforeSolutionLoop() from the list of processes.
| void Kratos::ProcessFactoryUtility::ExecuteFinalize | ( | ) |
It executes the ExecuteFinalize() from the list of processes.
| void Kratos::ProcessFactoryUtility::ExecuteFinalizeSolutionStep | ( | ) |
It executes the ExecuteFinalizeSolutionStep() from the list of processes.
| void Kratos::ProcessFactoryUtility::ExecuteInitialize | ( | ) |
It executes the ExecuteInitialize() from the list of processes.
| void Kratos::ProcessFactoryUtility::ExecuteInitializeSolutionStep | ( | ) |
It executes the ExecuteInitializeSolutionStep() from the list of processes.
| void Kratos::ProcessFactoryUtility::ExecuteMethod | ( | const std::string & | rNameMethod | ) |
It executes the method considered in the input.
| rNameMethod | The method to be executed |
|
inlinevirtual |
Turn back information as a string.
| void Kratos::ProcessFactoryUtility::IsOutputStep | ( | ) |
It executes the IsOutputStep() from the list of processes.
| Kratos::ProcessFactoryUtility::KRATOS_CLASS_POINTER_DEFINITION | ( | ProcessFactoryUtility | ) |
Counted pointer of ProcessFactoryUtility.
|
default |
Assignment operator.
|
inlinevirtual |
Print object's data.
|
inlinevirtual |
Print information about this object.
| void Kratos::ProcessFactoryUtility::PrintOutput | ( | ) |
It executes the PrintOutput() from the list of processes.
|
friend |


About Me
Hello I am Atul. I am a designer and developer and always seek for the new opportunities. I love music,arts and other creative thing.
I believe in designing user friendly websites. I have experience in HTML, CSS, JavaScript,PHP, MySQL and bootstrap.
My Skills
HTML
CSS
JavaScript and Jquery
PHP and MySQL


|
LiteCore
Couchbase Lite cross-platform core implementation
|
A view query result enumerator. More...
#include <c4View.h>
Data Fields | |
| C4Slice | docID |
| ID of doc that emitted this row. More... | |
| C4SequenceNumber | docSequence |
| Sequence number of doc that emitted row. More... | |
| C4Slice | value |
| Encoded emitted value. More... | |
| C4KeyReader | key |
| Encoded emitted key. More... | |
| unsigned | fullTextID |
| opaque 'cookie' for getting the full text string More... | |
| uint32_t | fullTextTermCount |
| The number of terms that were matched. More... | |
| const C4FullTextTerm * | fullTextTerms |
| Array of terms that were matched. More... | |
| C4GeoArea | geoBBox |
| Bounding box of emitted geoJSON shape. More... | |
| C4Slice | geoJSON |
| GeoJSON description of the shape. More... | |
A view query result enumerator.
Created by c4view_query, c4view_fullTextQuery, or c4view_geoQuery. Must be freed with c4queryenum_free. The fields of this struct represent the current matched index row, and are replaced by the next call to c4queryenum_next or c4queryenum_free. The memory pointed to by slice fields is valid until the enumerator is advanced or freed.
| C4Slice C4QueryEnumerator::docID |
ID of doc that emitted this row.
| C4SequenceNumber C4QueryEnumerator::docSequence |
Sequence number of doc that emitted row.
| unsigned C4QueryEnumerator::fullTextID |
opaque 'cookie' for getting the full text string
| uint32_t C4QueryEnumerator::fullTextTermCount |
The number of terms that were matched.
| const C4FullTextTerm* C4QueryEnumerator::fullTextTerms |
Array of terms that were matched.
| C4GeoArea C4QueryEnumerator::geoBBox |
Bounding box of emitted geoJSON shape.
| C4Slice C4QueryEnumerator::geoJSON |
GeoJSON description of the shape.
| C4KeyReader C4QueryEnumerator::key |
Encoded emitted key.
| C4Slice C4QueryEnumerator::value |
Encoded emitted value.


WATCH: We've got your back Siya - Bok captain's former schools salute their own
by Kamva SomdyalaThe 'Emsengeni Primary School' sign at the school in Zwide, Port Elizabeth, has 'SK' at the bottom to recognise Springbok captain Siya Kolisi's contribution towards it.
Inside the school premises, the boisterous sounds of laughing and excited children welcome News24 journalists.
Teachers dressed in assortments of green and gold smile and turn their attention to the journalists.
The mood is a good one. It's a happy one.
The principal at the school, Luyanda Nyoka, moves from the cameras to take calls. He is in high demand on Friday.
When News24 finally gets his attention, he says even though he wasn't at the school when Kolisi was there, the Bok captain's loyalty to his former school has been evident over the years.
Teaching and learning
"I was appointed in May 2016 and since then, Kolisi has been coming in and out of our institution to donate to the school," Nyoka says.
He said the Bok captain comes "twice a year".
Last year, Kolisi donated 100 pairs of shoes and this year, he donated iPad's to the school "which will contribute towards teaching and learning," Nyoka adds.
"He's never forgotten where he comes from. He has ploughed back to his community."
In doing so, according to Nyoka, he is investing in pupils' futures.
"We are 100% behind the Boks for the final. We are confident the trophy is going to come back to South Africa where it belongs."
Around 17km from the primary school, is Grey High School.
Pictures adorn some of the school's corridors where past pupils' achievements are honoured. Kolisi's face can be seen in many of them.
He moved to Grey High School when he was offered a bursary, owing to his rugby exploits honed by his mentor at African Bombers, Eric Songwiqi.
Boks making the final
Rector Christian Erasmus has urged Kolisi to "live up to the moment" on Saturday. "But there is a joyous sense that everyone wants to be part of the moment.
"Go out and live off the energy that we've got your back," says Erasmus.
Headboy at the school, Liyema Matyolweni, a rugby player himself for the first team has hailed the occasion on Saturday as motivational.
"It's a story of having a never-give-up attitude," Matyolweni begins, before offering his favourite moment of the world cup: the Boks making it to the final."