FHIR © HL7.org  |  FHIRsmith 4.0.1  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packagehl7.fhir.uv.pc-incubator
Resource TypeStructureDefinition
IdStructureDefinition-ConditionDefinition.json
FHIR VersionR6
Sourcehttps://build.fhir.org/ig/HL7/pc-incubator/StructureDefinition-ConditionDefinition.html
URLhttp://hl7.org/fhir/StructureDefinition/ConditionDefinition
Version0.1.0
Statusactive
Date2021-01-05T10:01:24+11:00
NameConditionDefinition
TitleCondition Definition
Realmuv
Authorityhl7
DescriptionA definition of a condition and information relevant to managing it.
TypeConditionDefinition
Kindresource

Resources that use this resource

No resources found


Resources that this resource uses

ValueSet
hl7.terminology#currentjurisdictionJurisdiction ValueSet
hl7.terminology#currentmedicationrequest-categoryMedication request category codes

Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: StructureDefinition ConditionDefinition

Last updated: 2021-01-05 10:01:24+1100

NameFlagsCard.TypeDescription & Constraintsdoco
.. ConditionDefinition C0..*DomainResourceA definition of a condition

Elements defined in Ancestors:id, meta, implicitRules, language, text, contained, extension, modifierExtension
Interfaces Implemented: MetadataResource
Constraints: cnl-0
... url ΣC0..1uriCanonical identifier for this condition definition, represented as a URI (globally unique)
... identifier Σ0..*IdentifierAdditional identifier for the condition definition
... version Σ0..1stringBusiness version of the condition definition
... versionAlgorithm[x] Σ0..1How to compare versions
Binding: VersionAlgorithm (extensible)
.... versionAlgorithmStringstring
.... versionAlgorithmCodingCoding
... name ΣC0..1stringName for this condition definition (computer friendly)
... title Σ0..1stringName for this condition definition (human friendly)
... subtitle 0..1stringSubordinate title of the event definition
... status ?!Σ1..1codedraft | active | retired | unknown
Binding: PublicationStatus (required): The lifecycle status of an artifact.
... experimental Σ0..1booleanFor testing only - never for real usage
... date Σ0..1dateTimeDate last changed
... publisher Σ0..1stringName of the publisher/steward (organization or individual)
... contact Σ0..*ContactDetailContact details for the publisher
... description 0..1markdownNatural language description of the condition definition
... useContext Σ0..*UsageContextThe context that the content is intended to support
... jurisdiction Σ0..*CodeableConceptJurisdiction of the authority that maintains the condition definition (if applicable)
Binding: Jurisdiction ValueSet (extensible): Countries and regions within which this artifact is targeted for use.
... code Σ1..1CodeableConceptIdentification of the condition, problem or diagnosis
Binding: ConditionProblemDiagnosisCodes (example): Identification of the condition or diagnosis.
... severity Σ0..1CodeableConceptSubjective severity of condition
Binding: ConditionDiagnosisSeverity (preferred): A subjective assessment of the severity of the condition as evaluated by the clinician.
... bodySite Σ0..1CodeableConceptAnatomical location, if relevant
Binding: SNOMEDCTBodyStructures (example): SNOMED CT Body site concepts
... stage Σ0..1CodeableConceptStage/grade, usually assessed formally
Binding: ConditionStage (example): Codes describing condition stages (e.g. Cancer stages).
... hasSeverity 0..1booleanWhether Severity is appropriate
... hasBodySite 0..1booleanWhether bodySite is appropriate
... hasStage 0..1booleanWhether stage is appropriate
... definition 0..*uriFormal Definition for the condition
... observation 0..*canonical(ObservationDefinition)Observations particularly relevant to this condition
... medication 0..*BackboneElementMedications particularly relevant for this condition
.... category 0..1CodeableConceptCategory that is relevant
Binding: Medication request category codes (example): A coded concept identifying the category of medication request. For example, where the medication is to be consumed or administered, or the type of medication treatment.
.... code 0..1CodeableConceptCode for relevant Medication
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying substance or product that can be ordered.
... precondition 0..*BackboneElementObservation that suggets this condition
.... type 1..1codesensitive | specific
Binding: ConditionPreconditionType (required): Kind of precondition for the condition.
.... code 1..1CodeableConceptCode for relevant Observation
Binding: LOINCCodes (example): Codes identifying names of simple observations.
.... value[x] 0..1Value of Observation
..... valueCodeableConceptCodeableConcept
..... valueQuantityQuantity
... team 0..*Reference(CareTeam)Appropriate team for this condition
... questionnaire 0..*BackboneElementQuestionnaire for this condition
.... purpose 1..1codepreadmit | diff-diagnosis | outcome
Binding: ConditionQuestionnairePurpose (required): The use of a questionnaire.
.... reference 1..1Reference(Questionnaire)Specific Questionnaire
... plan 0..*BackboneElementPlan that is appropriate
.... role 0..1CodeableConceptUse for the plan
.... reference 1..1Reference(PlanDefinition)The actual plan

doco Documentation for this format

Source1

{
  "resourceType": "StructureDefinition",
  "id": "ConditionDefinition",
  "meta": {
    "lastUpdated": "2021-01-05T10:01:24.148+11:00"
  },
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
      "valueString": "Specialized.Definitional Artifacts"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
      "valueCode": "trial-use"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
      "valueInteger": 0
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
      "valueCode": "anonymous"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "pc"
    },
    {
      "url": "http://hl7.org/fhir/build/StructureDefinition/entered-in-error-status",
      "valueCode": ".status = retired"
    },
    {
      "url": "http://hl7.org/fhir/build/StructureDefinition/template",
      "valueString": "MetadataResource"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-implements",
      "valueCanonical": "http://hl7.org/fhir/StructureDefinition/MetadataResource"
    },
    {
      "url": "http://hl7.org/fhir/tools/StructureDefinition/additional-resource",
      "valueBoolean": true
    }
  ],
  "url": "http://hl7.org/fhir/StructureDefinition/ConditionDefinition",
  "identifier": [
    {
      "system": "urn:ietf:rfc:3986",
      "value": "urn:oid:2.16.840.1.113883.4.642.5.1326"
    }
  ],
  "version": "0.1.0",
  "name": "ConditionDefinition",
  "title": "Condition Definition",
  "status": "active",
  "date": "2021-01-05T10:01:24+11:00",
  "publisher": "HL7 International / Patient Care",
  "contact": [
    {
      "name": "HL7 International / Patient Care",
      "telecom": [
        {
          "system": "url",
          "value": "http://www.hl7.org/Special/committees/patientcare"
        }
      ]
    }
  ],
  "description": "A definition of a condition and information relevant to managing it.",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code": "001",
          "display": "World"
        }
      ]
    }
  ],
  "fhirVersion": "6.0.0-ballot3",
  "mapping": [
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    },
    {
      "identity": "workflow",
      "uri": "http://hl7.org/fhir/workflow",
      "name": "Workflow Pattern"
    },
    {
      "identity": "objimpl",
      "uri": "http://hl7.org/fhir/object-implementation",
      "name": "Object Implementation Information"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "ConditionDefinition",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource",
  "derivation": "specialization",
  "snapshot": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
        "valueString": "6.0.0-ballot3"
      }
    ],
    "element": [
      {
        "id": "ConditionDefinition",
        "path": "ConditionDefinition",
        "short": "A definition of a condition",
        "definition": "A definition of a condition and information relevant to managing it.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DomainResource",
          "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()",
            "source": "http://hl7.org/fhir/StructureDefinition/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 or SHALL refer to the containing resource",
            "expression": "contained.where((('#'+id.trace('id') in %resource.descendants().select(reference | as(uri))) or descendants().where(reference='#' | as(uri)='#').exists()).not()).trace('unmatched', id).empty()",
            "source": "http://hl7.org/fhir/StructureDefinition/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()",
            "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
          },
          {
            "key": "dom-5",
            "severity": "error",
            "human": "If a resource is contained in another resource, it SHALL NOT have a security label",
            "expression": "contained.meta.security.empty()",
            "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice",
                "valueBoolean": true
              },
              {
                "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation",
                "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."
              }
            ],
            "key": "dom-6",
            "severity": "warning",
            "human": "A resource should have narrative for robust management",
            "expression": "text.`div`.exists()",
            "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
          },
          {
            "key": "cnl-0",
            "severity": "warning",
            "human": "Name should be usable as an identifier for the module by machine processing applications such as code generation",
            "expression": "name.exists() implies name.matches('^[A-Z]([A-Za-z0-9_]){1,254}[%content%]#39;)",
            "source": "http://hl7.org/fhir/StructureDefinition/ConditionDefinition"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "w5",
            "map": "clinical.general"
          },
          {
            "identity": "rim",
            "map": "Entity. Role, or Act,Entity, Role, or Act"
          }
        ]
      },
      {
        "id": "ConditionDefinition.id",
        "path": "ConditionDefinition.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": "Within the context of the FHIR RESTful interactions, the resource has an id except for cases like the create and conditional update. Otherwise, the use of the resouce id depends on the given use case.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Resource.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "id"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "ConditionDefinition.meta",
        "path": "ConditionDefinition.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 might 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"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "ConditionDefinition.implicitRules",
        "path": "ConditionDefinition.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. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.",
        "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. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of its narrative along with other profiles, value sets, etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Resource.implicitRules",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport": false,
        "isModifier": true,
        "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies its meaning or interpretation",
        "isSummary": true
      },
      {
        "id": "ConditionDefinition.language",
        "path": "ConditionDefinition.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"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "Language"
            }
          ],
          "strength": "required",
          "description": "IETF language tag for a human language",
          "valueSet": "http://hl7.org/fhir/ValueSet/all-languages|6.0.0-ballot3",
          "additional": [
            {
              "purpose": "starter",
              "valueSet": "http://hl7.org/fhir/ValueSet/languages|6.0.0-ballot3"
            }
          ]
        }
      },
      {
        "id": "ConditionDefinition.text",
        "path": "ConditionDefinition.text",
        "short": "Text summary of the resource, for human interpretation",
        "definition": "A human-readable narrative that contains a summary of the resource and can 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 a 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 information 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-6"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "Act.text?"
          }
        ]
      },
      {
        "id": "ConditionDefinition.contained",
        "path": "ConditionDefinition.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, nor can they have their own independent transaction scope. This is allowed to be a Parameters resource if and only if it is referenced by a resource that provides context/meaning.",
        "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. Contained resources may have profiles and tags in their meta elements, but SHALL NOT have security labels. Contained resources may be a resource type defined in the FHIR specification, or an [additional resource](http://build.fhir.org/resource.html#additional).",
        "alias": [
          "inline resources",
          "anonymous resources",
          "contained resources"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "DomainResource.contained",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Resource"
          }
        ],
        "condition": [
          "dom-2",
          "dom-4",
          "dom-3",
          "dom-5"
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "ConditionDefinition.extension",
        "path": "ConditionDefinition.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 resource. To make the use of extensions safe and managable, 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": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "ConditionDefinition.modifierExtension",
        "path": "ConditionDefinition.modifierExtension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "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 and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, 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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://build.fhir.org/extensibility.html#modifierExtension).",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "DomainResource.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport": false,
        "isModifier": true,
        "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "ConditionDefinition.url",
        "path": "ConditionDefinition.url",
        "short": "Canonical identifier for this condition definition, represented as a URI (globally unique)",
        "definition": "An absolute URI that is used to identify this condition definition when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which an authoritative instance of this condition definition is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the condition definition is stored on different servers.",
        "comment": "Can be a urn:uuid: or a urn:oid: but real http: addresses are preferred.  Multiple instances may share the same URL if they have a distinct version.\n\nThe determination of when to create a new version of a resource (same url, new version) vs. defining a new artifact is up to the author.  Considerations for making this decision are found in [Technical and Business Versions](http://build.fhir.org/resource.html#versions). \n\nIn some cases, the resource can no longer be found at the stated url, but the url itself cannot change. Implementations can use the [meta.source](http://build.fhir.org/resource.html#meta) element to indicate where the current master source of the resource can be found.",
        "requirements": "Allows the condition definition to be referenced by a single globally unique identifier.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ConditionDefinition.url",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "constraint": [
          {
            "key": "cnl-1",
            "severity": "warning",
            "human": "URL should not contain | or # - these characters make processing canonical references problematic",
            "expression": "exists() implies matches('^[^|# ]+[%content%]#39;)",
            "source": "http://hl7.org/fhir/StructureDefinition/CanonicalResource"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "w5",
            "map": "FiveWs.identifier"
          }
        ]
      },
      {
        "id": "ConditionDefinition.identifier",
        "path": "ConditionDefinition.identifier",
        "short": "Additional identifier for the condition definition",
        "definition": "A formal identifier that is used to identify this condition definition when it is represented in other formats, or referenced in a specification, model, design or an instance.",
        "requirements": "Allows externally provided and/or usable business identifiers to be easily associated with the module.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "ConditionDefinition.identifier",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "w5",
            "map": "FiveWs.identifier"
          },
          {
            "identity": "objimpl",
            "map": "no-gen-base"
          }
        ]
      },
      {
        "id": "ConditionDefinition.version",
        "path": "ConditionDefinition.version",
        "short": "Business version of the condition definition",
        "definition": "The identifier that is used to identify this version of the condition definition when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the condition definition author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence.",
        "comment": "There may be different condition definition instances that have the same identifier but different versions.  The version can be appended to the url in a reference to allow a reference to a particular business version of the condition definition with the format [url]|[version]. The version SHOULD NOT contain a '#' - see [Business Version](http://build.fhir.org/resource.html#bv-format).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ConditionDefinition.version",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "w5",
            "map": "FiveWs.version"
          }
        ]
      },
      {
        "id": "ConditionDefinition.versionAlgorithm[x]",
        "path": "ConditionDefinition.versionAlgorithm[x]",
        "short": "How to compare versions",
        "definition": "Indicates the mechanism used to compare versions to determine which is more current.",
        "comment": "If set as a string, this is a FHIRPath expression that has two additional context variables passed in - %version1 and %version2 and will return a negative number if version1 is newer, a positive number if version2 and a 0 if the version ordering can't be successfully be determined.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ConditionDefinition.versionAlgorithm[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          },
          {
            "code": "Coding"
          }
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "??"
            }
          ],
          "strength": "extensible",
          "valueSet": "http://hl7.org/fhir/ValueSet/version-algorithm"
        }
      },
      {
        "id": "ConditionDefinition.name",
        "path": "ConditionDefinition.name",
        "short": "Name for this condition definition (computer friendly)",
        "definition": "A natural language name identifying the condition definition. This name should be usable as an identifier for the module by machine processing applications such as code generation.",
        "comment": "The name is not expected to be globally unique. The name should be a simple alphanumeric type name to ensure that it is machine-processing friendly.",
        "requirements": "Support human navigation and code generation.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ConditionDefinition.name",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "cnl-0"
        ],
        "isSummary": true
      },
      {
        "id": "ConditionDefinition.title",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "ConditionDefinition.title",
        "short": "Name for this condition definition (human friendly)",
        "definition": "A short, descriptive, user-friendly title for the condition definition.",
        "comment": "This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ConditionDefinition.title",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isSummary": true
      },
      {
        "id": "ConditionDefinition.subtitle",
        "path": "ConditionDefinition.subtitle",
        "short": "Subordinate title of the event definition",
        "definition": "An explanatory or alternate title for the event definition giving additional information about its content.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ConditionDefinition.subtitle",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "ConditionDefinition.status",
        "path": "ConditionDefinition.status",
        "short": "draft | active | retired | unknown",
        "definition": "The status of this condition definition. Enables tracking the life-cycle of the content.",
        "comment": "Allows filtering of condition definitions that are appropriate for use versus not.\n\nSee guidance around (not) making local changes to elements [here](http://hl7.org/fhir/R5/canonicalresource.html#localization).",
        "min": 1,
        "max": "1",
        "base": {
          "path": "ConditionDefinition.status",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "isModifier": true,
        "isModifierReason": "This is labeled as \"Is Modifier\" because applications should not use a retired {{title}} without due consideration",
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "PublicationStatus"
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
              "valueBoolean": true
            }
          ],
          "strength": "required",
          "description": "The lifecycle status of an artifact.",
          "valueSet": "http://hl7.org/fhir/ValueSet/publication-status"
        },
        "mapping": [
          {
            "identity": "w5",
            "map": "FiveWs.status"
          }
        ]
      },
      {
        "id": "ConditionDefinition.experimental",
        "path": "ConditionDefinition.experimental",
        "short": "For testing only - never for real usage",
        "definition": "A Boolean value to indicate that this condition definition is authored for testing purposes (or education/evaluation/marketing) and no version of this resource will ever be intended for genuine usage.",
        "comment": "Allows filtering of condition definitions that are appropriate for use versus not. Experimental resources might include example instances in implementation guides, instances created solely for testing purposes, etc. If experimental is 'true' for any version of a resource, it should be true for all versions of the resource.  (If experimental changes, then it is being misused or a resource that was never intended for real-world use has unexpectedly changed its purpose.).\n\nExperimental resources are not expected to be stable and may well have breaking changes without a corresponding change to the 'version' element.",
        "requirements": "Enables experimental content to be developed following the same lifecycle that would be used for a production-level condition definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ConditionDefinition.experimental",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "meaningWhenMissing": "If absent, this resource is treated as though it is not experimental.",
        "isSummary": true,
        "mapping": [
          {
            "identity": "w5",
            "map": "FiveWs.class"
          }
        ]
      },
      {
        "id": "ConditionDefinition.date",
        "path": "ConditionDefinition.date",
        "short": "Date last changed",
        "definition": "The date  (and optionally time) when the condition definition was last significantly changed. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the condition definition changes.",
        "comment": "The date is often not tracked until the resource is published, but may be present on draft content. Note that this is not the same as the resource last-modified-date, since the resource may be a secondary representation of the condition definition. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource.\n\nSee guidance around (not) making local changes to elements [here](http://hl7.org/fhir/R5/canonicalresource.html#localization).",
        "alias": [
          "Revision Date"
        ],
        "min": 0,
        "max": "1",
        "base": {
          "path": "ConditionDefinition.date",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "w5",
            "map": "FiveWs.recorded"
          }
        ]
      },
      {
        "id": "ConditionDefinition.publisher",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "ConditionDefinition.publisher",
        "short": "Name of the publisher/steward (organization or individual)",
        "definition": "The name of the organization or individual responsible for the release and ongoing maintenance of the condition definition.",
        "comment": "Usually an organization but may be an individual. The publisher (or steward) of the condition definition is the organization or individual primarily responsible for the maintenance and upkeep of the condition definition. This is not necessarily the same individual or organization that developed and initially authored the content. The publisher is the primary point of contact for questions or issues with the condition definition. This item SHOULD be populated unless the information is available from context.",
        "requirements": "Helps establish the \"authority/credibility\" of the condition definition.  May also allow for contact.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ConditionDefinition.publisher",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "w5",
            "map": "FiveWs.witness"
          }
        ]
      },
      {
        "id": "ConditionDefinition.contact",
        "path": "ConditionDefinition.contact",
        "short": "Contact details for the publisher",
        "definition": "Contact details to assist a user in finding and communicating with the publisher.",
        "comment": "May be a web site, an email address, a telephone number, etc.\n\nSee guidance around (not) making local changes to elements [here](http://hl7.org/fhir/R5/canonicalresource.html#localization).",
        "min": 0,
        "max": "*",
        "base": {
          "path": "ConditionDefinition.contact",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "ContactDetail"
          }
        ],
        "isSummary": true
      },
      {
        "id": "ConditionDefinition.description",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "ConditionDefinition.description",
        "short": "Natural language description of the condition definition",
        "definition": "A free text natural language description of the condition definition from a consumer's perspective.",
        "comment": "This description can be used to capture details such as comments about misuse, instructions for clinical use and interpretation, literature references, examples from the paper world, etc. It is not a rendering of the condition definition as conveyed in the 'text' field of the resource itself. This item SHOULD be populated unless the information is available from context (e.g. the language of the condition definition is presumed to be the predominant language in the place the condition definition was created).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ConditionDefinition.description",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "markdown"
          }
        ]
      },
      {
        "id": "ConditionDefinition.useContext",
        "path": "ConditionDefinition.useContext",
        "short": "The context that the content is intended to support",
        "definition": "The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate condition definition instances.",
        "comment": "When multiple useContexts are specified, there is no expectation that all or any of the contexts apply.",
        "requirements": "Assist in searching for appropriate content.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "ConditionDefinition.useContext",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "UsageContext"
          }
        ],
        "isSummary": true
      },
      {
        "id": "ConditionDefinition.jurisdiction",
        "path": "ConditionDefinition.jurisdiction",
        "short": "Jurisdiction of the authority that maintains the condition definition (if applicable)",
        "definition": "A legal or geographic region in which the authority that maintains the resource is operating.  In general, the jurisdiction is also found in the useContext.  The useContext may reference additional jurisdictions because the defining jurisdiction does not necessarily limit the jurisdictions of use.",
        "comment": "It may be possible for the condition definition to be used in jurisdictions other than those for which it was originally designed or intended.\n\nDEPRECATION NOTE: For consistency, implementations are encouraged to migrate to using the new 'jurisdiction' code in the useContext element.  (I.e. useContext.code indicating http://terminology.hl7.org/CodeSystem/usage-context-type#jurisdiction and useContext.valueCodeableConcept indicating the jurisdiction.)",
        "min": 0,
        "max": "*",
        "base": {
          "path": "ConditionDefinition.jurisdiction",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "Jurisdiction"
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
              "valueBoolean": true
            }
          ],
          "strength": "extensible",
          "description": "Countries and regions within which this artifact is targeted for use.",
          "valueSet": "http://terminology.hl7.org/ValueSet/jurisdiction"
        }
      },
      {
        "id": "ConditionDefinition.code",
        "path": "ConditionDefinition.code",
        "short": "Identification of the condition, problem or diagnosis",
        "definition": "Identification of the condition, problem or diagnosis.",
        "requirements": "0..1 to account for primarily narrative only resources.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "ConditionDefinition.code",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "ConditionKind"
            }
          ],
          "strength": "example",
          "description": "Identification of the condition or diagnosis.",
          "valueSet": "http://hl7.org/fhir/ValueSet/condition-code"
        }
      },
      {
        "id": "ConditionDefinition.severity",
        "path": "ConditionDefinition.severity",
        "short": "Subjective severity of condition",
        "definition": "A subjective assessment of the severity of the condition as evaluated by the clinician.",
        "comment": "Coding of the severity with a terminology is preferred, where possible.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ConditionDefinition.severity",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "ConditionSeverity"
            }
          ],
          "strength": "preferred",
          "description": "A subjective assessment of the severity of the condition as evaluated by the clinician.",
          "valueSet": "http://hl7.org/fhir/ValueSet/condition-severity"
        }
      },
      {
        "id": "ConditionDefinition.bodySite",
        "path": "ConditionDefinition.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 ConditionDefinition.code. If the use case requires attributes from the BodySite resource (e.g. to identify and track separately) then use the standard extension [[[http://hl7.org/fhir/StructureDefinition/bodySite]]].  May be a summary code, or a reference to a very precise definition of the location, or both.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ConditionDefinition.bodySite",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "BodySite"
            },
            {
              "url": "http://hl7.org/fhir/tools/StructureDefinition/binding-definition",
              "valueMarkdown": "Codes describing anatomical locations. May include laterality."
            }
          ],
          "strength": "example",
          "description": "SNOMED CT Body site concepts",
          "valueSet": "http://hl7.org/fhir/ValueSet/body-site"
        }
      },
      {
        "id": "ConditionDefinition.stage",
        "path": "ConditionDefinition.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": "ConditionDefinition.stage",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "ConditionStage"
            }
          ],
          "strength": "example",
          "description": "Codes describing condition stages (e.g. Cancer stages).",
          "valueSet": "http://hl7.org/fhir/ValueSet/condition-stage"
        }
      },
      {
        "id": "ConditionDefinition.hasSeverity",
        "path": "ConditionDefinition.hasSeverity",
        "short": "Whether Severity is appropriate",
        "definition": "Whether Severity is appropriate to collect for this condition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ConditionDefinition.hasSeverity",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ]
      },
      {
        "id": "ConditionDefinition.hasBodySite",
        "path": "ConditionDefinition.hasBodySite",
        "short": "Whether bodySite is appropriate",
        "definition": "Whether bodySite is appropriate to collect for this condition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ConditionDefinition.hasBodySite",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ]
      },
      {
        "id": "ConditionDefinition.hasStage",
        "path": "ConditionDefinition.hasStage",
        "short": "Whether stage is appropriate",
        "definition": "Whether stage is appropriate to collect for this condition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ConditionDefinition.hasStage",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ]
      },
      {
        "id": "ConditionDefinition.definition",
        "path": "ConditionDefinition.definition",
        "short": "Formal Definition for the condition",
        "definition": "Formal definitions of the condition. These may be references to ontologies, published clinical protocols or research papers.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "ConditionDefinition.definition",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "uri"
          }
        ]
      },
      {
        "id": "ConditionDefinition.observation",
        "path": "ConditionDefinition.observation",
        "short": "Observations particularly relevant to this condition",
        "definition": "Observations particularly relevant to this condition.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "ConditionDefinition.observation",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "canonical",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/ObservationDefinition"
            ]
          }
        ]
      },
      {
        "id": "ConditionDefinition.medication",
        "path": "ConditionDefinition.medication",
        "short": "Medications particularly relevant for this condition",
        "definition": "Medications particularly relevant for this condition.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "ConditionDefinition.medication",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children or both",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ]
      },
      {
        "id": "ConditionDefinition.medication.id",
        "path": "ConditionDefinition.medication.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": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "id"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "ConditionDefinition.medication.extension",
        "path": "ConditionDefinition.medication.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 managable, 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"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "ConditionDefinition.medication.modifierExtension",
        "path": "ConditionDefinition.medication.modifierExtension",
        "short": "Extensions that cannot be ignored even if unrecognized",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://build.fhir.org/extensibility.html#modifierExtension).",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier": true,
        "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "ConditionDefinition.medication.category",
        "path": "ConditionDefinition.medication.category",
        "short": "Category that is relevant",
        "definition": "Category that is relevant.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ConditionDefinition.medication.category",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "MedicationRequestCategory"
            }
          ],
          "strength": "example",
          "description": "A coded concept identifying the category of medication request.  For example, where the medication is to be consumed or administered, or the type of medication treatment.",
          "valueSet": "http://terminology.hl7.org/ValueSet/medicationrequest-category"
        }
      },
      {
        "id": "ConditionDefinition.medication.code",
        "path": "ConditionDefinition.medication.code",
        "short": "Code for relevant Medication",
        "definition": "Code for relevant Medication.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ConditionDefinition.medication.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "MedicationCode"
            }
          ],
          "strength": "example",
          "description": "A coded concept identifying substance or product that can be ordered.",
          "valueSet": "http://hl7.org/fhir/ValueSet/medication-codes"
        }
      },
      {
        "id": "ConditionDefinition.precondition",
        "path": "ConditionDefinition.precondition",
        "short": "Observation that suggets this condition",
        "definition": "An observation that suggests that this condition applies.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "ConditionDefinition.precondition",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children or both",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ]
      },
      {
        "id": "ConditionDefinition.precondition.id",
        "path": "ConditionDefinition.precondition.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": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "id"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "ConditionDefinition.precondition.extension",
        "path": "ConditionDefinition.precondition.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 managable, 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"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "ConditionDefinition.precondition.modifierExtension",
        "path": "ConditionDefinition.precondition.modifierExtension",
        "short": "Extensions that cannot be ignored even if unrecognized",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://build.fhir.org/extensibility.html#modifierExtension).",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier": true,
        "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "ConditionDefinition.precondition.type",
        "path": "ConditionDefinition.precondition.type",
        "short": "sensitive | specific",
        "definition": "Kind of pre-condition.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "ConditionDefinition.precondition.type",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "ConditionPreconditionType"
            }
          ],
          "strength": "required",
          "description": "Kind of precondition for the condition.",
          "valueSet": "http://hl7.org/fhir/ValueSet/condition-precondition-type"
        }
      },
      {
        "id": "ConditionDefinition.precondition.code",
        "path": "ConditionDefinition.precondition.code",
        "short": "Code for relevant Observation",
        "definition": "Code for relevant Observation.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "ConditionDefinition.precondition.code",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "ObservationCode"
            }
          ],
          "strength": "example",
          "description": "Codes identifying names of simple observations.",
          "valueSet": "http://hl7.org/fhir/ValueSet/observation-codes"
        }
      },
      {
        "id": "ConditionDefinition.precondition.value[x]",
        "path": "ConditionDefinition.precondition.value[x]",
        "short": "Value of Observation",
        "definition": "Value of Observation.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ConditionDefinition.precondition.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          },
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "ConditionDefinition.team",
        "path": "ConditionDefinition.team",
        "short": "Appropriate team for this condition",
        "definition": "Appropriate team for this condition.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "ConditionDefinition.team",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/CareTeam"
            ]
          }
        ]
      },
      {
        "id": "ConditionDefinition.questionnaire",
        "path": "ConditionDefinition.questionnaire",
        "short": "Questionnaire for this condition",
        "definition": "Questionnaire for this condition.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "ConditionDefinition.questionnaire",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children or both",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ]
      },
      {
        "id": "ConditionDefinition.questionnaire.id",
        "path": "ConditionDefinition.questionnaire.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": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "id"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "ConditionDefinition.questionnaire.extension",
        "path": "ConditionDefinition.questionnaire.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 managable, 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"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "ConditionDefinition.questionnaire.modifierExtension",
        "path": "ConditionDefinition.questionnaire.modifierExtension",
        "short": "Extensions that cannot be ignored even if unrecognized",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://build.fhir.org/extensibility.html#modifierExtension).",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier": true,
        "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "ConditionDefinition.questionnaire.purpose",
        "path": "ConditionDefinition.questionnaire.purpose",
        "short": "preadmit | diff-diagnosis | outcome",
        "definition": "Use of the questionnaire.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "ConditionDefinition.questionnaire.purpose",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "ConditionQuestionnairePurpose"
            }
          ],
          "strength": "required",
          "description": "The use of a questionnaire.",
          "valueSet": "http://hl7.org/fhir/ValueSet/condition-questionnaire-purpose"
        }
      },
      {
        "id": "ConditionDefinition.questionnaire.reference",
        "path": "ConditionDefinition.questionnaire.reference",
        "short": "Specific Questionnaire",
        "definition": "Specific Questionnaire.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "ConditionDefinition.questionnaire.reference",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Questionnaire"
            ]
          }
        ]
      },
      {
        "id": "ConditionDefinition.plan",
        "path": "ConditionDefinition.plan",
        "short": "Plan that is appropriate",
        "definition": "Plan that is appropriate.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "ConditionDefinition.plan",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children or both",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ]
      },
      {
        "id": "ConditionDefinition.plan.id",
        "path": "ConditionDefinition.plan.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": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "id"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "ConditionDefinition.plan.extension",
        "path": "ConditionDefinition.plan.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 managable, 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"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "ConditionDefinition.plan.modifierExtension",
        "path": "ConditionDefinition.plan.modifierExtension",
        "short": "Extensions that cannot be ignored even if unrecognized",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://build.fhir.org/extensibility.html#modifierExtension).",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier": true,
        "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "ConditionDefinition.plan.role",
        "path": "ConditionDefinition.plan.role",
        "short": "Use for the plan",
        "definition": "Use for the plan.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ConditionDefinition.plan.role",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "ConditionDefinition.plan.reference",
        "path": "ConditionDefinition.plan.reference",
        "short": "The actual plan",
        "definition": "The actual plan.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "ConditionDefinition.plan.reference",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/PlanDefinition"
            ]
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "ConditionDefinition",
        "path": "ConditionDefinition",
        "short": "A definition of a condition",
        "definition": "A definition of a condition and information relevant to managing it.",
        "min": 0,
        "max": "*",
        "constraint": [
          {
            "key": "cnl-0",
            "severity": "warning",
            "human": "Name should be usable as an identifier for the module by machine processing applications such as code generation",
            "expression": "name.exists() implies name.matches('^[A-Z]([A-Za-z0-9_]){1,254}[%content%]#39;)",
            "source": "http://hl7.org/fhir/StructureDefinition/ConditionDefinition"
          }
        ],
        "mapping": [
          {
            "identity": "w5",
            "map": "clinical.general"
          }
        ]
      },
      {
        "id": "ConditionDefinition.url",
        "path": "ConditionDefinition.url",
        "short": "Canonical identifier for this condition definition, represented as a URI (globally unique)",
        "definition": "An absolute URI that is used to identify this condition definition when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which an authoritative instance of this condition definition is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the condition definition is stored on different servers.",
        "comment": "Can be a urn:uuid: or a urn:oid: but real http: addresses are preferred.  Multiple instances may share the same URL if they have a distinct version.\n\nThe determination of when to create a new version of a resource (same url, new version) vs. defining a new artifact is up to the author.  Considerations for making this decision are found in [Technical and Business Versions](resource.html#versions). \n\nIn some cases, the resource can no longer be found at the stated url, but the url itself cannot change. Implementations can use the [meta.source](resource.html#meta) element to indicate where the current master source of the resource can be found.",
        "requirements": "Allows the condition definition to be referenced by a single globally unique identifier.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "uri"
          }
        ],
        "constraint": [
          {
            "key": "cnl-1",
            "severity": "warning",
            "human": "URL should not contain | or # - these characters make processing canonical references problematic",
            "expression": "exists() implies matches('^[^|# ]+[%content%]#39;)",
            "source": "http://hl7.org/fhir/StructureDefinition/CanonicalResource"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "w5",
            "map": "FiveWs.identifier"
          }
        ]
      },
      {
        "id": "ConditionDefinition.identifier",
        "path": "ConditionDefinition.identifier",
        "short": "Additional identifier for the condition definition",
        "definition": "A formal identifier that is used to identify this condition definition when it is represented in other formats, or referenced in a specification, model, design or an instance.",
        "requirements": "Allows externally provided and/or usable business identifiers to be easily associated with the module.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "w5",
            "map": "FiveWs.identifier"
          },
          {
            "identity": "objimpl",
            "map": "no-gen-base"
          }
        ]
      },
      {
        "id": "ConditionDefinition.version",
        "path": "ConditionDefinition.version",
        "short": "Business version of the condition definition",
        "definition": "The identifier that is used to identify this version of the condition definition when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the condition definition author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence.",
        "comment": "There may be different condition definition instances that have the same identifier but different versions.  The version can be appended to the url in a reference to allow a reference to a particular business version of the condition definition with the format [url]|[version]. The version SHOULD NOT contain a '#' - see [Business Version](resource.html#bv-format).",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "w5",
            "map": "FiveWs.version"
          }
        ]
      },
      {
        "id": "ConditionDefinition.versionAlgorithm[x]",
        "path": "ConditionDefinition.versionAlgorithm[x]",
        "short": "How to compare versions",
        "definition": "Indicates the mechanism used to compare versions to determine which is more current.",
        "comment": "If set as a string, this is a FHIRPath expression that has two additional context variables passed in - %version1 and %version2 and will return a negative number if version1 is newer, a positive number if version2 and a 0 if the version ordering can't be successfully be determined.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          },
          {
            "code": "Coding"
          }
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "??"
            }
          ],
          "strength": "extensible",
          "valueSet": "http://hl7.org/fhir/ValueSet/version-algorithm"
        }
      },
      {
        "id": "ConditionDefinition.name",
        "path": "ConditionDefinition.name",
        "short": "Name for this condition definition (computer friendly)",
        "definition": "A natural language name identifying the condition definition. This name should be usable as an identifier for the module by machine processing applications such as code generation.",
        "comment": "The name is not expected to be globally unique. The name should be a simple alphanumeric type name to ensure that it is machine-processing friendly.",
        "requirements": "Support human navigation and code generation.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "cnl-0"
        ],
        "isSummary": true
      },
      {
        "id": "ConditionDefinition.title",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "ConditionDefinition.title",
        "short": "Name for this condition definition (human friendly)",
        "definition": "A short, descriptive, user-friendly title for the condition definition.",
        "comment": "This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "isSummary": true
      },
      {
        "id": "ConditionDefinition.subtitle",
        "path": "ConditionDefinition.subtitle",
        "short": "Subordinate title of the event definition",
        "definition": "An explanatory or alternate title for the event definition giving additional information about its content.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "ConditionDefinition.status",
        "path": "ConditionDefinition.status",
        "short": "draft | active | retired | unknown",
        "definition": "The status of this condition definition. Enables tracking the life-cycle of the content.",
        "comment": "Allows filtering of condition definitions that are appropriate for use versus not.\n\nSee guidance around (not) making local changes to elements [here](canonicalresource.html#localization).",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "isModifier": true,
        "isModifierReason": "This is labeled as \"Is Modifier\" because applications should not use a retired {{title}} without due consideration",
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "PublicationStatus"
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
              "valueBoolean": true
            }
          ],
          "strength": "required",
          "description": "The lifecycle status of an artifact.",
          "valueSet": "http://hl7.org/fhir/ValueSet/publication-status"
        },
        "mapping": [
          {
            "identity": "w5",
            "map": "FiveWs.status"
          }
        ]
      },
      {
        "id": "ConditionDefinition.experimental",
        "path": "ConditionDefinition.experimental",
        "short": "For testing only - never for real usage",
        "definition": "A Boolean value to indicate that this condition definition is authored for testing purposes (or education/evaluation/marketing) and no version of this resource will ever be intended for genuine usage.",
        "comment": "Allows filtering of condition definitions that are appropriate for use versus not. Experimental resources might include example instances in implementation guides, instances created solely for testing purposes, etc. If experimental is 'true' for any version of a resource, it should be true for all versions of the resource.  (If experimental changes, then it is being misused or a resource that was never intended for real-world use has unexpectedly changed its purpose.).\n\nExperimental resources are not expected to be stable and may well have breaking changes without a corresponding change to the 'version' element.",
        "requirements": "Enables experimental content to be developed following the same lifecycle that would be used for a production-level condition definition.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "boolean"
          }
        ],
        "meaningWhenMissing": "If absent, this resource is treated as though it is not experimental.",
        "isSummary": true,
        "mapping": [
          {
            "identity": "w5",
            "map": "FiveWs.class"
          }
        ]
      },
      {
        "id": "ConditionDefinition.date",
        "path": "ConditionDefinition.date",
        "short": "Date last changed",
        "definition": "The date  (and optionally time) when the condition definition was last significantly changed. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the condition definition changes.",
        "comment": "The date is often not tracked until the resource is published, but may be present on draft content. Note that this is not the same as the resource last-modified-date, since the resource may be a secondary representation of the condition definition. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource.\n\nSee guidance around (not) making local changes to elements [here](canonicalresource.html#localization).",
        "alias": [
          "Revision Date"
        ],
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "w5",
            "map": "FiveWs.recorded"
          }
        ]
      },
      {
        "id": "ConditionDefinition.publisher",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "ConditionDefinition.publisher",
        "short": "Name of the publisher/steward (organization or individual)",
        "definition": "The name of the organization or individual responsible for the release and ongoing maintenance of the condition definition.",
        "comment": "Usually an organization but may be an individual. The publisher (or steward) of the condition definition is the organization or individual primarily responsible for the maintenance and upkeep of the condition definition. This is not necessarily the same individual or organization that developed and initially authored the content. The publisher is the primary point of contact for questions or issues with the condition definition. This item SHOULD be populated unless the information is available from context.",
        "requirements": "Helps establish the \"authority/credibility\" of the condition definition.  May also allow for contact.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "w5",
            "map": "FiveWs.witness"
          }
        ]
      },
      {
        "id": "ConditionDefinition.contact",
        "path": "ConditionDefinition.contact",
        "short": "Contact details for the publisher",
        "definition": "Contact details to assist a user in finding and communicating with the publisher.",
        "comment": "May be a web site, an email address, a telephone number, etc.\n\nSee guidance around (not) making local changes to elements [here](canonicalresource.html#localization).",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "ContactDetail"
          }
        ],
        "isSummary": true
      },
      {
        "id": "ConditionDefinition.description",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "ConditionDefinition.description",
        "short": "Natural language description of the condition definition",
        "definition": "A free text natural language description of the condition definition from a consumer's perspective.",
        "comment": "This description can be used to capture details such as comments about misuse, instructions for clinical use and interpretation, literature references, examples from the paper world, etc. It is not a rendering of the condition definition as conveyed in the 'text' field of the resource itself. This item SHOULD be populated unless the information is available from context (e.g. the language of the condition definition is presumed to be the predominant language in the place the condition definition was created).",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "markdown"
          }
        ]
      },
      {
        "id": "ConditionDefinition.useContext",
        "path": "ConditionDefinition.useContext",
        "short": "The context that the content is intended to support",
        "definition": "The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate condition definition instances.",
        "comment": "When multiple useContexts are specified, there is no expectation that all or any of the contexts apply.",
        "requirements": "Assist in searching for appropriate content.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "UsageContext"
          }
        ],
        "isSummary": true
      },
      {
        "id": "ConditionDefinition.jurisdiction",
        "path": "ConditionDefinition.jurisdiction",
        "short": "Jurisdiction of the authority that maintains the condition definition (if applicable)",
        "definition": "A legal or geographic region in which the authority that maintains the resource is operating.  In general, the jurisdiction is also found in the useContext.  The useContext may reference additional jurisdictions because the defining jurisdiction does not necessarily limit the jurisdictions of use.",
        "comment": "It may be possible for the condition definition to be used in jurisdictions other than those for which it was originally designed or intended.\n\nDEPRECATION NOTE: For consistency, implementations are encouraged to migrate to using the new 'jurisdiction' code in the useContext element.  (I.e. useContext.code indicating http://terminology.hl7.org/CodeSystem/usage-context-type#jurisdiction and useContext.valueCodeableConcept indicating the jurisdiction.)",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "Jurisdiction"
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
              "valueBoolean": true
            }
          ],
          "strength": "extensible",
          "description": "Countries and regions within which this artifact is targeted for use.",
          "valueSet": "http://terminology.hl7.org/ValueSet/jurisdiction"
        }
      },
      {
        "id": "ConditionDefinition.code",
        "path": "ConditionDefinition.code",
        "short": "Identification of the condition, problem or diagnosis",
        "definition": "Identification of the condition, problem or diagnosis.",
        "requirements": "0..1 to account for primarily narrative only resources.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "ConditionKind"
            }
          ],
          "strength": "example",
          "description": "Identification of the condition or diagnosis.",
          "valueSet": "http://hl7.org/fhir/ValueSet/condition-code"
        }
      },
      {
        "id": "ConditionDefinition.severity",
        "path": "ConditionDefinition.severity",
        "short": "Subjective severity of condition",
        "definition": "A subjective assessment of the severity of the condition as evaluated by the clinician.",
        "comment": "Coding of the severity with a terminology is preferred, where possible.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "ConditionSeverity"
            }
          ],
          "strength": "preferred",
          "description": "A subjective assessment of the severity of the condition as evaluated by the clinician.",
          "valueSet": "http://hl7.org/fhir/ValueSet/condition-severity"
        }
      },
      {
        "id": "ConditionDefinition.bodySite",
        "path": "ConditionDefinition.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 ConditionDefinition.code. If the use case requires attributes from the BodySite resource (e.g. to identify and track separately) then use the standard extension [[[http://hl7.org/fhir/StructureDefinition/bodySite]]].  May be a summary code, or a reference to a very precise definition of the location, or both.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "BodySite"
            },
            {
              "url": "http://hl7.org/fhir/tools/StructureDefinition/binding-definition",
              "valueMarkdown": "Codes describing anatomical locations. May include laterality."
            }
          ],
          "strength": "example",
          "description": "SNOMED CT Body site concepts",
          "valueSet": "http://hl7.org/fhir/ValueSet/body-site"
        }
      },
      {
        "id": "ConditionDefinition.stage",
        "path": "ConditionDefinition.stage",
        "short": "Stage/grade, usually assessed formally",
        "definition": "Clinical stage or grade of a condition. May include formal severity assessments.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "ConditionStage"
            }
          ],
          "strength": "example",
          "description": "Codes describing condition stages (e.g. Cancer stages).",
          "valueSet": "http://hl7.org/fhir/ValueSet/condition-stage"
        }
      },
      {
        "id": "ConditionDefinition.hasSeverity",
        "path": "ConditionDefinition.hasSeverity",
        "short": "Whether Severity is appropriate",
        "definition": "Whether Severity is appropriate to collect for this condition.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "boolean"
          }
        ]
      },
      {
        "id": "ConditionDefinition.hasBodySite",
        "path": "ConditionDefinition.hasBodySite",
        "short": "Whether bodySite is appropriate",
        "definition": "Whether bodySite is appropriate to collect for this condition.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "boolean"
          }
        ]
      },
      {
        "id": "ConditionDefinition.hasStage",
        "path": "ConditionDefinition.hasStage",
        "short": "Whether stage is appropriate",
        "definition": "Whether stage is appropriate to collect for this condition.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "boolean"
          }
        ]
      },
      {
        "id": "ConditionDefinition.definition",
        "path": "ConditionDefinition.definition",
        "short": "Formal Definition for the condition",
        "definition": "Formal definitions of the condition. These may be references to ontologies, published clinical protocols or research papers.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "uri"
          }
        ]
      },
      {
        "id": "ConditionDefinition.observation",
        "path": "ConditionDefinition.observation",
        "short": "Observations particularly relevant to this condition",
        "definition": "Observations particularly relevant to this condition.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "canonical",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/ObservationDefinition"
            ]
          }
        ]
      },
      {
        "id": "ConditionDefinition.medication",
        "path": "ConditionDefinition.medication",
        "short": "Medications particularly relevant for this condition",
        "definition": "Medications particularly relevant for this condition.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "ConditionDefinition.medication.category",
        "path": "ConditionDefinition.medication.category",
        "short": "Category that is relevant",
        "definition": "Category that is relevant.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "MedicationRequestCategory"
            }
          ],
          "strength": "example",
          "description": "A coded concept identifying the category of medication request.  For example, where the medication is to be consumed or administered, or the type of medication treatment.",
          "valueSet": "http://terminology.hl7.org/ValueSet/medicationrequest-category"
        }
      },
      {
        "id": "ConditionDefinition.medication.code",
        "path": "ConditionDefinition.medication.code",
        "short": "Code for relevant Medication",
        "definition": "Code for relevant Medication.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "MedicationCode"
            }
          ],
          "strength": "example",
          "description": "A coded concept identifying substance or product that can be ordered.",
          "valueSet": "http://hl7.org/fhir/ValueSet/medication-codes"
        }
      },
      {
        "id": "ConditionDefinition.precondition",
        "path": "ConditionDefinition.precondition",
        "short": "Observation that suggets this condition",
        "definition": "An observation that suggests that this condition applies.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "ConditionDefinition.precondition.type",
        "path": "ConditionDefinition.precondition.type",
        "short": "sensitive | specific",
        "definition": "Kind of pre-condition.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "ConditionPreconditionType"
            }
          ],
          "strength": "required",
          "description": "Kind of precondition for the condition.",
          "valueSet": "http://hl7.org/fhir/ValueSet/condition-precondition-type"
        }
      },
      {
        "id": "ConditionDefinition.precondition.code",
        "path": "ConditionDefinition.precondition.code",
        "short": "Code for relevant Observation",
        "definition": "Code for relevant Observation.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "ObservationCode"
            }
          ],
          "strength": "example",
          "description": "Codes identifying names of simple observations.",
          "valueSet": "http://hl7.org/fhir/ValueSet/observation-codes"
        }
      },
      {
        "id": "ConditionDefinition.precondition.value[x]",
        "path": "ConditionDefinition.precondition.value[x]",
        "short": "Value of Observation",
        "definition": "Value of Observation.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          },
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "ConditionDefinition.team",
        "path": "ConditionDefinition.team",
        "short": "Appropriate team for this condition",
        "definition": "Appropriate team for this condition.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/CareTeam"
            ]
          }
        ]
      },
      {
        "id": "ConditionDefinition.questionnaire",
        "path": "ConditionDefinition.questionnaire",
        "short": "Questionnaire for this condition",
        "definition": "Questionnaire for this condition.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "ConditionDefinition.questionnaire.purpose",
        "path": "ConditionDefinition.questionnaire.purpose",
        "short": "preadmit | diff-diagnosis | outcome",
        "definition": "Use of the questionnaire.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "ConditionQuestionnairePurpose"
            }
          ],
          "strength": "required",
          "description": "The use of a questionnaire.",
          "valueSet": "http://hl7.org/fhir/ValueSet/condition-questionnaire-purpose"
        }
      },
      {
        "id": "ConditionDefinition.questionnaire.reference",
        "path": "ConditionDefinition.questionnaire.reference",
        "short": "Specific Questionnaire",
        "definition": "Specific Questionnaire.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Questionnaire"
            ]
          }
        ]
      },
      {
        "id": "ConditionDefinition.plan",
        "path": "ConditionDefinition.plan",
        "short": "Plan that is appropriate",
        "definition": "Plan that is appropriate.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "ConditionDefinition.plan.role",
        "path": "ConditionDefinition.plan.role",
        "short": "Use for the plan",
        "definition": "Use for the plan.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "ConditionDefinition.plan.reference",
        "path": "ConditionDefinition.plan.reference",
        "short": "The actual plan",
        "definition": "The actual plan.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/PlanDefinition"
            ]
          }
        ]
      }
    ]
  }
}