Trillium II Implementation Guide Implementation Guide CI Build

Publish Box goes here

JSON Format: StructureDefinition-Condition-uv-ips

Raw json

{
  "resourceType" : "StructureDefinition",
  "id" : "Condition-uv-ips",
  "meta" : {
    "lastUpdated" : "2018-02-27T15:32:05.203+01:00"
  },
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">This profile represents the constraints applied to the Condition resource by the Trillium II project based on FHIR STU3. This profile is derived from the International Patient Summary (IPS) FHIR Implementation Guide. A record of an allergy or intolerance is represented in the patient summary as an instance of an AllergyIntolerance resource constrained by this profile.\r\n\r\nIt documents the relevant allergies or intolerances (conditions) for a patient, describing the kind of reaction (e.g. rash, anaphylaxis,..); preferably the agents that cause it; and optionally the criticality and the certainty of the allergy.</div>"
  },
  "url" : "http://hl7.eu/fhir/trillium2/StructureDefinition/Condition-uv-ips",
  "version" : "0.1.0",
  "name" : "Condition_uv_ips",
  "title" : "Condition (Trillium II)",
  "status" : "draft",
  "date" : "2018-03-20T00:00:00+01:00",
  "publisher" : "Trillium II Project",
  "description" : "This profile represents the constraints applied to the Condition resource by the Trillium II project based on FHIR STU3. This profile is derived from the International Patient Summary (IPS) FHIR Implementation Guide. A record of problem is represented in the patient summary as an instance of the Condition resource constrained by this profile.",
  "jurisdiction" : [
    {
      "coding" : [
        {
          "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code" : "001",
          "display" : "World"
        }
      ]
    }
  ],
  "purpose" : "Representation of a problem in the international patient summary",
  "fhirVersion" : "3.0.1",
  "mapping" : [
    {
      "identity" : "sct-concept",
      "uri" : "http://snomed.info/conceptdomain",
      "name" : "SNOMED CT Concept Domain Binding"
    },
    {
      "identity" : "v2",
      "uri" : "http://hl7.org/v2",
      "name" : "HL7 v2 Mapping"
    },
    {
      "identity" : "rim",
      "uri" : "http://hl7.org/v3",
      "name" : "RIM Mapping"
    },
    {
      "identity" : "w5",
      "uri" : "http://hl7.org/fhir/w5",
      "name" : "W5 Mapping"
    },
    {
      "identity" : "sct-attr",
      "uri" : "http://snomed.info/sct",
      "name" : "SNOMED CT Attribute Binding"
    }
  ],
  "kind" : "resource",
  "abstract" : false,
  "type" : "Condition",
  "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Condition",
  "derivation" : "constraint",
  "snapshot" : {
    "element" : [
      {
        "id" : "Condition",
        "path" : "Condition",
        "short" : "Documentation of a health problem of the patient",
        "definition" : "A clinical condition, problem, diagnosis, or other event, situation, issue, or clinical concept that has risen to a level of concern.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Condition",
          "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"
          },
          {
            "key" : "con-4",
            "severity" : "error",
            "human" : "If condition is abated, then clinicalStatus must be either inactive, resolved, or remission",
            "expression" : "abatement.empty() or (abatement as boolean).not()  or clinicalStatus='resolved' or clinicalStatus='remission' or clinicalStatus='inactive'",
            "xpath" : "not(f:abatementBoolean/@value=true() or (not(exists(f:abatementBoolean)) and exists(*[starts-with(local-name(.), 'abatement')])) or f:clinicalStatus/@value=('resolved', 'remission', 'inactive'))",
            "source" : "Condition"
          },
          {
            "key" : "con-3",
            "severity" : "error",
            "human" : "Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error",
            "expression" : "verificationStatus='entered-in-error' or clinicalStatus.exists()",
            "xpath" : "f:verificationStatus/@value='entered-in-error' or exists(f:clinicalStatus)",
            "source" : "Condition"
          }
        ],
        "mustSupport" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "Entity. Role, or Act"
          },
          {
            "identity" : "sct-concept",
            "map" : "< 243796009 |Situation with explicit context|:\n246090004 |Associated finding| =\n((< 404684003 |Clinical finding| MINUS\n<< 420134006 |Propensity to adverse reactions| MINUS \n<< 473010000 |Hypersensitivity condition| MINUS \n<< 79899007 |Drug interaction| MINUS\n<< 69449002 |Drug action| MINUS \n<< 441742003 |Evaluation finding| MINUS \n<< 307824009 |Administrative status| MINUS \n<< 385356007 |Tumor stage finding|) OR\n< 272379006 |Event|)"
          },
          {
            "identity" : "v2",
            "map" : "PPR message"
          },
          {
            "identity" : "rim",
            "map" : "Observation[classCode=OBS, moodCode=EVN, code=ASSERTION, value<Diagnosis]"
          },
          {
            "identity" : "w5",
            "map" : "clinical.general"
          }
        ]
      },
      {
        "id" : "Condition.id",
        "path" : "Condition.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"
          }
        ],
        "mustSupport" : true,
        "isSummary" : true
      },
      {
        "id" : "Condition.meta",
        "path" : "Condition.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"
          }
        ],
        "mustSupport" : true,
        "isSummary" : true
      },
      {
        "id" : "Condition.meta.id",
        "path" : "Condition.meta.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" : "Condition.meta.extension",
        "path" : "Condition.meta.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "description" : "Extensions are always sliced by (at least) url",
          "rules" : "open"
        },
        "short" : "Additional Content defined by implementations",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the element. 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" : "Condition.meta.versionId",
        "path" : "Condition.meta.versionId",
        "short" : "Version specific identifier",
        "definition" : "The version specific identifier, as it appears in the version portion of the URL. This values changes when the resource is created, updated, or deleted.",
        "comment" : "The server assigns this value, and ignores what the client specifies, except in the case that the server is imposing version integrity on updates/deletes.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Meta.versionId",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "id"
          }
        ],
        "isSummary" : true
      },
      {
        "id" : "Condition.meta.lastUpdated",
        "path" : "Condition.meta.lastUpdated",
        "short" : "When the resource version last changed",
        "definition" : "When the resource last changed - e.g. when the version changed.",
        "comment" : "This value is always populated except when the resource is first being created. The server / resource manager sets this value; what a client provides is irrelevant.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Meta.lastUpdated",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "instant"
          }
        ],
        "isSummary" : true
      },
      {
        "id" : "Condition.meta.profile",
        "path" : "Condition.meta.profile",
        "short" : "Profiles this resource claims to conform to",
        "definition" : "A list of profiles (references to [StructureDefinition](http://hl7.org/fhir/STU3/structuredefinition.html#) resources) that this resource claims to conform to. The URL is a reference to [StructureDefinition.url](http://hl7.org/fhir/STU3/).",
        "comment" : "It is up to the server and/or other infrastructure of policy to determine whether/how these claims are verified and/or updated over time.  The list of profile URLs is a set.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Meta.profile",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "uri"
          }
        ],
        "mustSupport" : true,
        "isSummary" : true
      },
      {
        "id" : "Condition.meta.security",
        "path" : "Condition.meta.security",
        "short" : "Security Labels applied to this resource",
        "definition" : "Security labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure.",
        "comment" : "The security labels can be updated without changing the stated version of the resource  The list of security labels is a set. Uniqueness is based the system/code, and version and display are ignored.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Meta.security",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Coding"
          }
        ],
        "isSummary" : true,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "SecurityLabels"
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
              "valueBoolean" : true
            }
          ],
          "strength" : "extensible",
          "description" : "Security Labels from the Healthcare Privacy and Security Classification System.",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/security-labels"
          }
        }
      },
      {
        "id" : "Condition.meta.tag",
        "path" : "Condition.meta.tag",
        "short" : "Tags applied to this resource",
        "definition" : "Tags applied to this resource. Tags are intended to be used to identify and relate resources to process and workflow, and applications are not required to consider the tags when interpreting the meaning of a resource.",
        "comment" : "The tags can be updated without changing the stated version of the resource.  The list of tags is a set. Uniqueness is based the system/code, and version and display are ignored.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Meta.tag",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Coding"
          }
        ],
        "isSummary" : true,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "Tags"
            }
          ],
          "strength" : "example",
          "description" : "Codes that represent various types of tags, commonly workflow-related; e.g. \"Needs review by Dr. Jones\"",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/common-tags"
          }
        }
      },
      {
        "id" : "Condition.implicitRules",
        "path" : "Condition.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. \n\nThis 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" : "Condition.language",
        "path" : "Condition.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" : "Condition.text",
        "path" : "Condition.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"
        ],
        "mustSupport" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "Act.text?"
          }
        ]
      },
      {
        "id" : "Condition.contained",
        "path" : "Condition.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" : "Condition.extension",
        "path" : "Condition.extension",
        "short" : "Additional Content defined by implementations",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the resource. 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" : "Condition.modifierExtension",
        "path" : "Condition.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" : "Condition.identifier",
        "path" : "Condition.identifier",
        "short" : "External Ids for this condition",
        "definition" : "This records identifiers associated with this condition that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation).",
        "requirements" : "Need to allow connection to a wider workflow.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Condition.identifier",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Identifier"
          }
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".id"
          },
          {
            "identity" : "w5",
            "map" : "id"
          }
        ]
      },
      {
        "id" : "Condition.clinicalStatus",
        "path" : "Condition.clinicalStatus",
        "short" : "active | recurrence | inactive | remission | resolved",
        "definition" : "The clinical status of the condition.",
        "comment" : "This element is labeled as a modifier because the status contains codes that mark the condition as not currently valid or of concern.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "Condition.clinicalStatus",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "code"
          }
        ],
        "condition" : [
          "con-3",
          "con-4"
        ],
        "mustSupport" : true,
        "isModifier" : true,
        "isSummary" : true,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ConditionClinicalStatus"
            }
          ],
          "strength" : "required",
          "description" : "The clinical status of the condition or diagnosis.",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/condition-clinical"
          }
        },
        "mapping" : [
          {
            "identity" : "sct-concept",
            "map" : "< 303105007 |Disease phases|"
          },
          {
            "identity" : "v2",
            "map" : "PRB-14 / DG1-6"
          },
          {
            "identity" : "rim",
            "map" : "Observation ACT\n.inboundRelationship[typeCode=COMP].source[classCode=OBS, code=\"clinicalStatus\", moodCode=EVN].value"
          },
          {
            "identity" : "w5",
            "map" : "status"
          }
        ]
      },
      {
        "id" : "Condition.verificationStatus",
        "path" : "Condition.verificationStatus",
        "short" : "provisional | differential | confirmed | refuted | entered-in-error | unknown",
        "definition" : "The verification status to support the clinical status of the condition.",
        "comment" : "This element is labeled as a modifier because the status contains the code refuted and entered-in-error that mark the Condition as not currently valid.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Condition.verificationStatus",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "code"
          }
        ],
        "defaultValueCode" : "unknown",
        "condition" : [
          "con-3"
        ],
        "mustSupport" : true,
        "isModifier" : true,
        "isSummary" : true,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ConditionVerificationStatus"
            }
          ],
          "strength" : "required",
          "description" : "The verification status to support or decline the clinical status of the condition or diagnosis.",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/condition-ver-status"
          }
        },
        "mapping" : [
          {
            "identity" : "sct-concept",
            "map" : "< 410514004 |Finding context value|"
          },
          {
            "identity" : "v2",
            "map" : "PRB-13"
          },
          {
            "identity" : "rim",
            "map" : "Observation ACT\n.inboundRelationship[typeCode=COMP].source[classCode=OBS, code=\"verificationStatus\", moodCode=EVN].value"
          },
          {
            "identity" : "sct-attr",
            "map" : "408729009"
          },
          {
            "identity" : "w5",
            "map" : "status"
          }
        ]
      },
      {
        "id" : "Condition.category",
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
            "valueCode" : "normative"
          },
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
            "valueCode" : "4.0.0"
          }
        ],
        "path" : "Condition.category",
        "short" : "Concept - reference to a terminology or just  text",
        "definition" : "A category assigned to the condition. In this profile, a health problem of the patient, therefore a 'problem-list-item'.\r\n",
        "comment" : "In this profile, Condition represents a health problem of the patient. Therefore the code is fixed to the value problem-list-item.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Condition.category",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "CodeableConcept",
            "profile" : "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "Element"
          }
        ],
        "mustSupport" : true,
        "isModifier" : false,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ConditionCategory"
            }
          ],
          "strength" : "required",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/uv/ips/ValueSet/problem-type-uv-ips"
          }
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          },
          {
            "identity" : "v2",
            "map" : "CE/CNE/CWE"
          },
          {
            "identity" : "rim",
            "map" : "CD"
          },
          {
            "identity" : "orim",
            "map" : "fhir:CodeableConcept rdfs:subClassOf dt:CD"
          }
        ]
      },
      {
        "id" : "Condition.severity",
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
            "valueCode" : "normative"
          },
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
            "valueCode" : "4.0.0"
          }
        ],
        "path" : "Condition.severity",
        "short" : "Concept - reference to a terminology or just  text",
        "definition" : "A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text.",
        "comment" : "Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Condition.severity",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "CodeableConcept",
            "profile" : "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "Element"
          }
        ],
        "mustSupport" : true,
        "isModifier" : false,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ConditionSeverity"
            }
          ],
          "strength" : "preferred",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/uv/ips/ValueSet/condition-severity-uv-ips"
          }
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          },
          {
            "identity" : "v2",
            "map" : "CE/CNE/CWE"
          },
          {
            "identity" : "rim",
            "map" : "CD"
          },
          {
            "identity" : "orim",
            "map" : "fhir:CodeableConcept rdfs:subClassOf dt:CD"
          }
        ]
      },
      {
        "id" : "Condition.code",
        "path" : "Condition.code",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "coding.system"
            }
          ],
          "description" : "Discriminated by code system",
          "rules" : "open"
        },
        "short" : "Concept - reference to a terminology or just  text",
        "definition" : "Identification of the condition, problem or diagnosis or recording of \"problem absent\" or of \"problems unknown\".",
        "comment" : "Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.",
        "requirements" : "0..1 to account for primarily narrative only resources.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "Condition.code",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "CodeableConcept",
            "profile" : "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
          }
        ],
        "mustSupport" : true,
        "isSummary" : true,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ProblemCode"
            }
          ],
          "strength" : "preferred",
          "description" : "Identification of the problem",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/uv/ips/ValueSet/core-problem-list-disorders-uv-ips"
          }
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          },
          {
            "identity" : "v2",
            "map" : "CE/CNE/CWE"
          },
          {
            "identity" : "rim",
            "map" : "CD"
          },
          {
            "identity" : "orim",
            "map" : "fhir:CodeableConcept rdfs:subClassOf dt:CD"
          }
        ]
      },
      {
        "id" : "Condition.code:absentOrUnknownProblem",
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
            "valueCode" : "normative"
          },
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
            "valueCode" : "4.0.0"
          }
        ],
        "path" : "Condition.code",
        "sliceName" : "absentOrUnknownProblem",
        "short" : "Code for absent problem or for unknown problem",
        "definition" : "Code representing the statement \"absent problem\" or the statement \"problems unknown\"",
        "comment" : "Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.",
        "requirements" : "0..1 to account for primarily narrative only resources.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Condition.code",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "CodeableConcept",
            "profile" : "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "Element"
          }
        ],
        "mustSupport" : true,
        "isModifier" : false,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "absentOrUnknownProblem"
            }
          ],
          "strength" : "required",
          "description" : "Absent problem or unknown problem",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/uv/ips/ValueSet/absent-or-unknown-problems-uv-ips"
          }
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          },
          {
            "identity" : "v2",
            "map" : "CE/CNE/CWE"
          },
          {
            "identity" : "rim",
            "map" : "CD"
          },
          {
            "identity" : "orim",
            "map" : "fhir:CodeableConcept rdfs:subClassOf dt:CD"
          }
        ]
      },
      {
        "id" : "Condition.code:absentOrUnknownProblem.id",
        "path" : "Condition.code.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "Unique id for inter-element referencing",
        "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Condition.code:absentOrUnknownProblem.extension",
        "path" : "Condition.code.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "description" : "Extensions are always sliced by (at least) url",
          "rules" : "open"
        },
        "short" : "Additional content defined by implementations",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Condition.code:absentOrUnknownProblem.coding",
        "path" : "Condition.code.coding",
        "short" : "Code defined by a terminology system",
        "definition" : "A reference to a code defined by a terminology system.",
        "comment" : "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.",
        "requirements" : "Allows for alternative encodings within a code system, and translations to other code systems.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "CodeableConcept.coding",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Coding",
            "profile" : "http://hl7.org/fhir/uv/ips/StructureDefinition/Coding-uv-ips"
          }
        ],
        "mustSupport" : true,
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "C*E.1-8, C*E.10-22"
          },
          {
            "identity" : "rim",
            "map" : "union(., ./translation)"
          },
          {
            "identity" : "orim",
            "map" : "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"
          }
        ]
      },
      {
        "id" : "Condition.code:absentOrUnknownProblem.coding.id",
        "path" : "Condition.code.coding.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "Unique id for inter-element referencing",
        "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Condition.code:absentOrUnknownProblem.coding.extension",
        "path" : "Condition.code.coding.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "description" : "Extensions are always sliced by (at least) url",
          "rules" : "open"
        },
        "short" : "Additional content defined by implementations",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Condition.code:absentOrUnknownProblem.coding.system",
        "path" : "Condition.code.coding.system",
        "short" : "Identity of the terminology system",
        "definition" : "The identification of the code system that defines the meaning of the symbol in the code.",
        "comment" : "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.",
        "requirements" : "Need to be unambiguous about the source of the definition of the symbol.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "Coding.system",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "uri"
          }
        ],
        "fixedUri" : "http://hl7.org/fhir/uv/ips/CodeSystem/absent-unknown-uv-ips",
        "mustSupport" : true,
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "C*E.3"
          },
          {
            "identity" : "rim",
            "map" : "./codeSystem"
          },
          {
            "identity" : "orim",
            "map" : "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
          }
        ]
      },
      {
        "id" : "Condition.code:absentOrUnknownProblem.coding.version",
        "path" : "Condition.code.coding.version",
        "short" : "Version of the system - if relevant",
        "definition" : "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
        "comment" : "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Coding.version",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "mustSupport" : true,
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "C*E.7"
          },
          {
            "identity" : "rim",
            "map" : "./codeSystemVersion"
          },
          {
            "identity" : "orim",
            "map" : "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
          }
        ]
      },
      {
        "id" : "Condition.code:absentOrUnknownProblem.coding.code",
        "path" : "Condition.code.coding.code",
        "short" : "Symbol in syntax defined by the system",
        "definition" : "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
        "requirements" : "Need to refer to a particular code in the system.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Coding.code",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "code"
          }
        ],
        "mustSupport" : true,
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "C*E.1"
          },
          {
            "identity" : "rim",
            "map" : "./code"
          },
          {
            "identity" : "orim",
            "map" : "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
          }
        ]
      },
      {
        "id" : "Condition.code:absentOrUnknownProblem.coding.display",
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean" : true
          }
        ],
        "path" : "Condition.code.coding.display",
        "short" : "Representation defined by the system",
        "definition" : "A representation of the meaning of the code in the system, following the rules of the system.",
        "requirements" : "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Coding.display",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "mustSupport" : true,
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "C*E.2 - but note this is not well followed"
          },
          {
            "identity" : "rim",
            "map" : "CV.displayName"
          },
          {
            "identity" : "orim",
            "map" : "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
          }
        ]
      },
      {
        "id" : "Condition.code:absentOrUnknownProblem.coding.display.id",
        "path" : "Condition.code.coding.display.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references)",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "Condition.code:absentOrUnknownProblem.coding.display.extension",
        "path" : "Condition.code.coding.display.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "rules" : "open"
        },
        "short" : "Extension",
        "definition" : "An Extension",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "Condition.code:absentOrUnknownProblem.coding.display.extension:translation",
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
            "valueCode" : "normative"
          },
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
            "valueCode" : "4.0.0"
          }
        ],
        "path" : "Condition.code.coding.display.extension",
        "sliceName" : "translation",
        "short" : "Language Translation (Localization)",
        "definition" : "Language translation from base language of resource to another language.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : "http://hl7.org/fhir/StructureDefinition/translation"
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "Extension"
          }
        ],
        "mustSupport" : true,
        "isModifier" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "ST.translation"
          }
        ]
      },
      {
        "id" : "Condition.code:absentOrUnknownProblem.coding.display.value",
        "path" : "Condition.code.coding.display.value",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "Primitive value for string",
        "definition" : "The actual value",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "string.value",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/regex",
                "valueString" : "[ \\r\\n\\t\\S]+"
              }
            ],
            "_code" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type",
                  "valueString" : "string"
                },
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type",
                  "valueString" : "xsd:string"
                },
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type",
                  "valueString" : "xsd:string"
                }
              ]
            }
          }
        ],
        "maxLength" : 1048576,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "Condition.code:absentOrUnknownProblem.coding.userSelected",
        "path" : "Condition.code.coding.userSelected",
        "short" : "If this coding was chosen directly by the user",
        "definition" : "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).",
        "comment" : "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
        "requirements" : "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Coding.userSelected",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "boolean"
          }
        ],
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "Sometimes implied by being first"
          },
          {
            "identity" : "rim",
            "map" : "CD.codingRationale"
          },
          {
            "identity" : "orim",
            "map" : "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"
          }
        ]
      },
      {
        "id" : "Condition.code:absentOrUnknownProblem.text",
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean" : true
          }
        ],
        "path" : "Condition.code.text",
        "short" : "Plain text representation of the concept",
        "definition" : "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.",
        "comment" : "Very often the text is the same as a displayName of one of the codings.",
        "requirements" : "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "CodeableConcept.text",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "C*E.9. But note many systems use C*E.2 for this"
          },
          {
            "identity" : "rim",
            "map" : "./originalText[mediaType/code=\"text/plain\"]/data"
          },
          {
            "identity" : "orim",
            "map" : "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"
          }
        ]
      },
      {
        "id" : "Condition.bodySite",
        "path" : "Condition.bodySite",
        "short" : "Anatomical location, if relevant",
        "definition" : "The anatomical location where this condition manifests itself.",
        "comment" : "Only used if not implicit in code found in Condition.code. If the use case requires attributes from the BodySite resource (e.g. to identify and track separately) then use the standard extension [body-site-instance](http://hl7.org/fhir/STU3/extension-body-site-instance.html).  May be a summary code, or a reference to a very precise definition of the location, or both.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Condition.bodySite",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "isSummary" : true,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "BodySite"
            }
          ],
          "strength" : "example",
          "description" : "Codes describing anatomical locations. May include laterality.",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/body-site"
          }
        },
        "mapping" : [
          {
            "identity" : "sct-concept",
            "map" : "< 442083009  |Anatomical or acquired body structure|"
          },
          {
            "identity" : "rim",
            "map" : ".targetBodySiteCode"
          },
          {
            "identity" : "sct-attr",
            "map" : "363698007"
          }
        ]
      },
      {
        "id" : "Condition.subject",
        "path" : "Condition.subject",
        "short" : "Who has the condition?",
        "definition" : "Indicates the patient or group who the condition record is associated with.",
        "requirements" : "Group is typically used for veterinary or public health use cases.",
        "alias" : [
          "patient"
        ],
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "Condition.subject",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Reference",
            "targetProfile" : "http://hl7.eu/fhir/trillium2/StructureDefinition/Patient-uv-ips"
          }
        ],
        "mustSupport" : true,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "PID-3"
          },
          {
            "identity" : "rim",
            "map" : ".participation[typeCode=SBJ].role[classCode=PAT]"
          },
          {
            "identity" : "w5",
            "map" : "who.focus"
          }
        ]
      },
      {
        "id" : "Condition.subject.id",
        "path" : "Condition.subject.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" : "Condition.subject.extension",
        "path" : "Condition.subject.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "description" : "Extensions are always sliced by (at least) url",
          "rules" : "open"
        },
        "short" : "Additional Content defined by implementations",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the element. 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" : "Condition.subject.reference",
        "path" : "Condition.subject.reference",
        "short" : "Literal reference, Relative, internal or absolute URL",
        "definition" : "A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.",
        "comment" : "Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries.   Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \"/[type]/[id]\" then it should be assumed that the reference is to a FHIR RESTful server.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "Reference.reference",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "condition" : [
          "ref-1"
        ],
        "mustSupport" : true,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Condition.subject.identifier",
        "path" : "Condition.subject.identifier",
        "short" : "Logical reference, when literal reference is not known",
        "definition" : "An identifier for the other resource. This is used when there is no way to reference the other resource directly, either because the entity is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.",
        "comment" : "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Reference.identifier",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Identifier"
          }
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".identifier"
          }
        ]
      },
      {
        "id" : "Condition.subject.display",
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean" : true
          }
        ],
        "path" : "Condition.subject.display",
        "short" : "Text alternative for the resource",
        "definition" : "Plain text narrative that identifies the resource in addition to the resource reference.",
        "comment" : "This is generally not the same as the Resource.text of the referenced resource.  The purpose is to identify what's being referenced, not to fully describe it.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Reference.display",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Condition.context",
        "path" : "Condition.context",
        "short" : "Encounter or episode when condition first asserted",
        "definition" : "Encounter during which the condition was first asserted.",
        "comment" : "This record indicates the encounter this particular record is associated with.  In the case of a \"new\" diagnosis reflecting ongoing/revised information about the condition, this might be distinct from the first encounter in which the underlying condition was first \"known\".",
        "alias" : [
          "encounter"
        ],
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Condition.context",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Reference",
            "targetProfile" : "http://hl7.org/fhir/StructureDefinition/Encounter"
          },
          {
            "code" : "Reference",
            "targetProfile" : "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare"
          }
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "PV1-19 (+PV1-54)"
          },
          {
            "identity" : "rim",
            "map" : ".inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]"
          },
          {
            "identity" : "w5",
            "map" : "context"
          }
        ]
      },
      {
        "id" : "Condition.onsetDateTime:onsetDateTime",
        "path" : "Condition.onsetDateTime",
        "sliceName" : "onsetDateTime",
        "short" : "Estimated or actual date,  date-time, or age",
        "definition" : "Estimated or actual date or date-time  the condition began, in the opinion of the clinician.",
        "comment" : "Age is generally used when the patient reports an age at which the Condition began to occur.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Condition.onset[x]",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "dateTime"
          }
        ],
        "mustSupport" : true,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "PRB-16"
          },
          {
            "identity" : "rim",
            "map" : ".effectiveTime.low or .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"age at onset\"].value"
          },
          {
            "identity" : "w5",
            "map" : "when.init"
          }
        ]
      },
      {
        "id" : "Condition.abatement[x]",
        "path" : "Condition.abatement[x]",
        "short" : "If/when in resolution/remission",
        "definition" : "The date or estimated date that the condition resolved or went into remission. This is called \"abatement\" because of the many overloaded connotations associated with \"remission\" or \"resolution\" - Conditions are never really resolved, but they can abate.",
        "comment" : "There is no explicit distinction between resolution and remission because in many cases the distinction is not clear. Age is generally used when the patient reports an age at which the Condition abated.  If there is no abatement element, it is unknown whether the condition has resolved or entered remission; applications and users should generally assume that the condition is still valid.  When abatementString exists, it implies the condition is abated.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Condition.abatement[x]",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "dateTime"
          },
          {
            "code" : "Age"
          },
          {
            "code" : "boolean"
          },
          {
            "code" : "Period"
          },
          {
            "code" : "Range"
          },
          {
            "code" : "string"
          }
        ],
        "condition" : [
          "con-4"
        ],
        "mustSupport" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".effectiveTime.high or .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"age at remission\"].value or .inboundRelationship[typeCode=SUBJ]source[classCode=CONC, moodCode=EVN].status=completed"
          },
          {
            "identity" : "w5",
            "map" : "when.done"
          }
        ]
      },
      {
        "id" : "Condition.assertedDate",
        "path" : "Condition.assertedDate",
        "short" : "Date record was believed accurate",
        "definition" : "The date on which the existance of the Condition was first asserted or acknowledged.",
        "comment" : "The assertedDate represents the date when this particular Condition record was created in the EHR, not the date of the most recent update in terms of when severity, abatement, etc. were specified.  The date of the last record modification can be retrieved from the resource metadata.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Condition.assertedDate",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "dateTime"
          }
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "REL-11"
          },
          {
            "identity" : "rim",
            "map" : ".participation[typeCode=AUT].time"
          },
          {
            "identity" : "w5",
            "map" : "when.recorded"
          }
        ]
      },
      {
        "id" : "Condition.asserter",
        "path" : "Condition.asserter",
        "short" : "Person who asserts this condition",
        "definition" : "Individual who is making the condition statement.\r\nInformation source.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Condition.asserter",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Reference",
            "targetProfile" : "http://hl7.org/fhir/StructureDefinition/Practitioner"
          },
          {
            "code" : "Reference",
            "targetProfile" : "http://hl7.org/fhir/StructureDefinition/Patient"
          },
          {
            "code" : "Reference",
            "targetProfile" : "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
          }
        ],
        "mustSupport" : true,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "REL-7.1 identifier + REL-7.12 type code"
          },
          {
            "identity" : "rim",
            "map" : ".participation[typeCode=AUT].role"
          },
          {
            "identity" : "w5",
            "map" : "who.author"
          }
        ]
      },
      {
        "id" : "Condition.stage",
        "path" : "Condition.stage",
        "short" : "Stage/grade, usually assessed formally",
        "definition" : "Clinical stage or grade of a condition. May include formal severity assessments.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Condition.stage",
          "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"
          },
          {
            "key" : "con-1",
            "severity" : "error",
            "human" : "Stage SHALL have summary or assessment",
            "expression" : "summary.exists() or assessment.exists()",
            "xpath" : "exists(f:summary) or exists(f:assessment)"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "./inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"stage/grade\"]"
          }
        ]
      },
      {
        "id" : "Condition.stage.id",
        "path" : "Condition.stage.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" : "Condition.stage.extension",
        "path" : "Condition.stage.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" : "Condition.stage.modifierExtension",
        "path" : "Condition.stage.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" : "Condition.stage.summary",
        "path" : "Condition.stage.summary",
        "short" : "Simple summary (disease specific)",
        "definition" : "A simple summary of the stage such as \"Stage 3\". The determination of the stage is disease-specific.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Condition.stage.summary",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "condition" : [
          "con-1"
        ],
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ConditionStage"
            }
          ],
          "strength" : "example",
          "description" : "Codes describing condition stages (e.g. Cancer stages).",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/condition-stage"
          }
        },
        "mapping" : [
          {
            "identity" : "sct-concept",
            "map" : "< 254291000 |Staging and scales|"
          },
          {
            "identity" : "v2",
            "map" : "PRB-14"
          },
          {
            "identity" : "rim",
            "map" : ".value"
          }
        ]
      },
      {
        "id" : "Condition.stage.assessment",
        "path" : "Condition.stage.assessment",
        "short" : "Formal record of assessment",
        "definition" : "Reference to a formal record of the evidence on which the staging assessment is based.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Condition.stage.assessment",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Reference",
            "targetProfile" : "http://hl7.org/fhir/StructureDefinition/ClinicalImpression"
          },
          {
            "code" : "Reference",
            "targetProfile" : "http://hl7.org/fhir/StructureDefinition/DiagnosticReport"
          },
          {
            "code" : "Reference",
            "targetProfile" : "http://hl7.org/fhir/StructureDefinition/Observation"
          }
        ],
        "condition" : [
          "con-1"
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".self"
          }
        ]
      },
      {
        "id" : "Condition.evidence",
        "path" : "Condition.evidence",
        "short" : "Supporting evidence",
        "definition" : "Supporting Evidence / manifestations that are the basis on which this condition is suspected or confirmed.",
        "comment" : "The evidence may be a simple list of coded symptoms/manifestations, or references to observations or formal assessments, or both.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Condition.evidence",
          "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"
          },
          {
            "key" : "con-2",
            "severity" : "error",
            "human" : "evidence SHALL have code or details",
            "expression" : "code.exists() or detail.exists()",
            "xpath" : "exists(f:code) or exists(f:detail)"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".outboundRelationship[typeCode=SPRT].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id" : "Condition.evidence.id",
        "path" : "Condition.evidence.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" : "Condition.evidence.extension",
        "path" : "Condition.evidence.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" : "Condition.evidence.modifierExtension",
        "path" : "Condition.evidence.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" : "Condition.evidence.code",
        "path" : "Condition.evidence.code",
        "short" : "Manifestation/symptom",
        "definition" : "A manifestation or symptom that led to the recording of this condition.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Condition.evidence.code",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "condition" : [
          "con-2"
        ],
        "isSummary" : true,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ManifestationOrSymptom"
            }
          ],
          "strength" : "example",
          "description" : "Codes that describe the manifestation or symptoms of a condition.",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/manifestation-or-symptom"
          }
        },
        "mapping" : [
          {
            "identity" : "sct-concept",
            "map" : "< 404684003 |Clinical finding|"
          },
          {
            "identity" : "rim",
            "map" : "[code=\"diagnosis\"].value"
          },
          {
            "identity" : "w5",
            "map" : "why"
          }
        ]
      },
      {
        "id" : "Condition.evidence.detail",
        "path" : "Condition.evidence.detail",
        "short" : "Supporting information found elsewhere",
        "definition" : "Links to other relevant information, including pathology reports.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Condition.evidence.detail",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Reference",
            "targetProfile" : "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition" : [
          "con-2"
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".self"
          },
          {
            "identity" : "w5",
            "map" : "why"
          }
        ]
      },
      {
        "id" : "Condition.note",
        "path" : "Condition.note",
        "short" : "Additional information about the Condition",
        "definition" : "Additional information about the Condition. This is a general notes/comments entry  for description of the Condition, its diagnosis and prognosis.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Condition.note",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Annotation"
          }
        ],
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "NTE child of PRB"
          },
          {
            "identity" : "rim",
            "map" : ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value"
          }
        ]
      }
    ]
  },
  "differential" : {
    "element" : [
      {
        "id" : "Condition",
        "path" : "Condition",
        "short" : "Documentation of a health problem of the patient",
        "mustSupport" : true
      },
      {
        "id" : "Condition.id",
        "path" : "Condition.id",
        "mustSupport" : true
      },
      {
        "id" : "Condition.meta",
        "path" : "Condition.meta",
        "mustSupport" : true
      },
      {
        "id" : "Condition.meta.profile",
        "path" : "Condition.meta.profile",
        "mustSupport" : true
      },
      {
        "id" : "Condition.text",
        "path" : "Condition.text",
        "mustSupport" : true
      },
      {
        "id" : "Condition.clinicalStatus",
        "path" : "Condition.clinicalStatus",
        "min" : 1,
        "type" : [
          {
            "code" : "code"
          }
        ],
        "mustSupport" : true
      },
      {
        "id" : "Condition.verificationStatus",
        "path" : "Condition.verificationStatus",
        "comment" : "This element is labeled as a modifier because the status contains the code refuted and entered-in-error that mark the Condition as not currently valid.",
        "type" : [
          {
            "code" : "code"
          }
        ],
        "mustSupport" : true
      },
      {
        "id" : "Condition.category",
        "path" : "Condition.category",
        "definition" : "A category assigned to the condition. In this profile, a health problem of the patient, therefore a 'problem-list-item'.\r\n",
        "comment" : "In this profile, Condition represents a health problem of the patient. Therefore the code is fixed to the value problem-list-item.",
        "max" : "1",
        "type" : [
          {
            "code" : "CodeableConcept",
            "profile" : "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
          }
        ],
        "mustSupport" : true,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ConditionCategory"
            }
          ],
          "strength" : "required",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/uv/ips/ValueSet/problem-type-uv-ips"
          }
        }
      },
      {
        "id" : "Condition.severity",
        "path" : "Condition.severity",
        "type" : [
          {
            "code" : "CodeableConcept",
            "profile" : "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
          }
        ],
        "mustSupport" : true,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ConditionSeverity"
            }
          ],
          "strength" : "preferred",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/uv/ips/ValueSet/condition-severity-uv-ips"
          }
        }
      },
      {
        "id" : "Condition.code",
        "path" : "Condition.code",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "coding.system"
            }
          ],
          "description" : "Discriminated by code system",
          "rules" : "open"
        },
        "definition" : "Identification of the condition, problem or diagnosis or recording of \"problem absent\" or of \"problems unknown\".",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "CodeableConcept",
            "profile" : "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
          }
        ],
        "mustSupport" : true,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ProblemCode"
            }
          ],
          "strength" : "preferred",
          "description" : "Identification of the problem",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/uv/ips/ValueSet/core-problem-list-disorders-uv-ips"
          }
        }
      },
      {
        "id" : "Condition.code:absentOrUnknownProblem",
        "path" : "Condition.code",
        "sliceName" : "absentOrUnknownProblem",
        "short" : "Code for absent problem or for unknown problem",
        "definition" : "Code representing the statement \"absent problem\" or the statement \"problems unknown\"",
        "max" : "1",
        "type" : [
          {
            "code" : "CodeableConcept",
            "profile" : "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
          }
        ],
        "mustSupport" : true,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "absentOrUnknownProblem"
            }
          ],
          "strength" : "required",
          "description" : "Absent problem or unknown problem",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/uv/ips/ValueSet/absent-or-unknown-problems-uv-ips"
          }
        }
      },
      {
        "id" : "Condition.code:absentOrUnknownProblem.coding",
        "path" : "Condition.code.coding",
        "min" : 1,
        "max" : "1",
        "mustSupport" : true
      },
      {
        "id" : "Condition.code:absentOrUnknownProblem.coding.system",
        "path" : "Condition.code.coding.system",
        "min" : 1,
        "max" : "1",
        "fixedUri" : "http://hl7.org/fhir/uv/ips/CodeSystem/absent-unknown-uv-ips",
        "mustSupport" : true
      },
      {
        "id" : "Condition.subject",
        "path" : "Condition.subject",
        "type" : [
          {
            "code" : "Reference",
            "targetProfile" : "http://hl7.eu/fhir/trillium2/StructureDefinition/Patient-uv-ips"
          }
        ],
        "mustSupport" : true
      },
      {
        "id" : "Condition.subject.reference",
        "path" : "Condition.subject.reference",
        "min" : 1,
        "mustSupport" : true
      },
      {
        "id" : "Condition.onsetDateTime:onsetDateTime",
        "path" : "Condition.onsetDateTime",
        "sliceName" : "onsetDateTime",
        "type" : [
          {
            "code" : "dateTime"
          }
        ],
        "mustSupport" : true
      },
      {
        "id" : "Condition.abatement[x]",
        "path" : "Condition.abatement[x]",
        "mustSupport" : true
      },
      {
        "id" : "Condition.asserter",
        "path" : "Condition.asserter",
        "definition" : "Individual who is making the condition statement.\r\nInformation source.",
        "mustSupport" : true
      }
    ]
  }
}