HL7 FHIR Implementation Guide: minimal Common Oncology Data Elements (mCODE), v0.9.1

HL7 FHIR Implementation Guide: minimal Common Oncology Data Elements (mCODE), v0.9.1 FHIR Profiles - Local Development build (v0.9.1). See the Directory of published versions

PrimaryCancerCondition

{
  "resourceType" : "StructureDefinition",
  "id" : "onco-core-PrimaryCancerCondition",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n  <p><b>PrimaryCancerCondition Profile</b></p>\n  <p>Records the history of the primary cancer condition, the original or first tumor in the body (reference https://www.cancer.gov/publications/dictionaries/cancer-terms/def/primary-tumor). Cancers that are not clearly secondary (i.e., of uncertain origin or behavior) should be documented as primary.\n\nCancer staging information summarized in this profile should reflect the most recent staging assessment on the patient, and should be updated if and when there is a new staging assessment. Past staging assessments will be preserved in instances of the TNMClinicalStageGroup and/or TNMPathologicalStageGroup, which refer back to PrimaryCancerCondition.\n\nConformance note: For the code attribute, to be compliant with [US Core Profiles](http://hl7.org/fhir/us/core/STU3/index.html), SNOMED CT must be used unless there is no suitable code, in which case ICD-10-CM can be used.</p>\n  <p><b>Mapping Summary</b></p>\n  <p><pre>onco.core.PrimaryCancerCondition maps to http://fhir.org/guides/argonaut/StructureDefinition/argo-condition:\n  Language maps to language\n  ImplicitRules maps to implicitRules\n  Metadata.VersionId maps to meta.versionId\n  Metadata.SourceSystem maps to meta.extension\n  Metadata.Profile maps to meta.profile\n  Metadata.LastUpdated maps to meta.lastUpdated\n  Metadata.SecurityLabel maps to meta.security\n  Metadata.Tag maps to meta.tag\n  Narrative maps to text\n  Identifier maps to identifier\n  SubjectOfRecord maps to patient\n  CareContext maps to encounter\n  PractitionerInformationSource maps to asserter\n  Author maps to extension\n  StatementDateTime maps to dateRecorded\n  Code maps to code\n  Category maps to category\n  ClinicalStatus maps to clinicalStatus\n  Status maps to verificationStatus\n  Severity maps to severity\n  Onset maps to onset[x]\n  Abatement maps to abatement[x]\n  StageInformation maps to stage\n  StageInformation.StageSummary maps to stage.summary\n  StageInformation.StageDetail maps to stage.assessment\n  StageInformation.Type maps to stage.extension\n  Evidence.Manifestation maps to evidence.code\n  Evidence.Resource maps to evidence.detail\n  BodyLocation.Code maps to bodySite\n  BodyLocation.Laterality maps to bodySite.extension\n  BodyLocation.AnatomicalOrientation maps to bodySite.extension\n  BodyLocation.RelationToLandmark maps to bodySite.extension\n  Annotation maps to extension\n  DateOfDiagnosis maps to extension\n</pre></p>\n</div>"
  },
  "url" : "http://mcodeinitiative.org/us/mcode/StructureDefinition/onco-core-PrimaryCancerCondition",
  "version" : "0.9.1",
  "name" : "PrimaryCancerCondition",
  "display" : "onco-core-PrimaryCancerCondition",
  "status" : "draft",
  "publisher" : "The MITRE Corporation",
  "contact" : [
    {
      "telecom" : [
        {
          "system" : "other",
          "value" : "http://standardhealthrecord.org",
          "rank" : 0
        }
      ]
    }
  ],
  "date" : "2019-10-23T00:00:00-04:00",
  "description" : "Records the history of the primary cancer condition, the original or first tumor in the body (reference https://www.cancer.gov/publications/dictionaries/cancer-terms/def/primary-tumor). Cancers that are not clearly secondary (i.e., of uncertain origin or behavior) should be documented as primary.\n\nCancer staging information summarized in this profile should reflect the most recent staging assessment on the patient, and should be updated if and when there is a new staging assessment. Past staging assessments will be preserved in instances of the TNMClinicalStageGroup and/or TNMPathologicalStageGroup, which refer back to PrimaryCancerCondition.\n\nConformance note: For the code attribute, to be compliant with [US Core Profiles](http://hl7.org/fhir/us/core/STU3/index.html), SNOMED CT must be used unless there is no suitable code, in which case ICD-10-CM can be used.",
  "fhirVersion" : "1.0.2",
  "mapping" : [
    {
      "identity" : "us-core-stu3",
      "uri" : "http://unknown.org/US%20Core%20(STU3)",
      "name" : "US Core (STU3)"
    },
    {
      "identity" : "v2",
      "uri" : "http://hl7.org/v2",
      "name" : "HL7 v2"
    },
    {
      "identity" : "rim",
      "uri" : "http://hl7.org/v3",
      "name" : "RIM"
    },
    {
      "identity" : "w5",
      "uri" : "http://hl7.org/fhir/w5",
      "name" : "W5 Mapping"
    }
  ],
  "kind" : "resource",
  "constrainedType" : "Condition",
  "abstract" : false,
  "base" : "http://fhir.org/guides/argonaut/StructureDefinition/argo-condition",
  "snapshot" : {
    "element" : [
      {
        "id" : "Condition-argoprofile",
        "path" : "Condition",
        "name" : "Condition-argoprofile",
        "short" : "onco-core-PrimaryCancerCondition",
        "definition" : "Records the history of the primary cancer condition, the original or first tumor in the body (reference https://www.cancer.gov/publications/dictionaries/cancer-terms/def/primary-tumor). Cancers that are not clearly secondary (i.e., of uncertain origin or behavior) should be documented as primary.\n\nCancer staging information summarized in this profile should reflect the most recent staging assessment on the patient, and should be updated if and when there is a new staging assessment. Past staging assessments will be preserved in instances of the TNMClinicalStageGroup and/or TNMPathologicalStageGroup, which refer back to PrimaryCancerCondition.\n\nConformance note: For the code attribute, to be compliant with [US Core Profiles](http://hl7.org/fhir/us/core/STU3/index.html), SNOMED CT must be used unless there is no suitable code, in which case ICD-10-CM can be used.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Condition",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "argo-condition"
          }
        ],
        "maxLength" : 0,
        "constraint" : [
          {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-expression",
                "valueString" : "clinicalStatus.exists() = (verificationStatus != 'entered-in-error')"
              }
            ],
            "key" : "arg-1",
            "severity" : "error",
            "human" : "Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error. Condition.clinicalStatus SHALL NOT be present if verification Status is entered-in-error",
            "xpath" : "exists(f:clinicalStatus)=(f:verificationStatus/@value!='entered-in-error')"
          }
        ],
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "PPR message"
          },
          {
            "identity" : "rim",
            "map" : "Observation[classCode=OBS, moodCode=EVN, code=ASSERTION, value<Diagnosis]"
          },
          {
            "identity" : "w5",
            "map" : "clinical.general"
          },
          {
            "identity" : "us-core-stu3",
            "map" : "Condition"
          }
        ]
      },
      {
        "id" : "Condition-argoprofile.id",
        "path" : "Condition.id",
        "name" : "Condition-argoprofile.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.",
        "comments" : "The only time that a resource does not have an id is when it is being submitted to the server using a create operation. Bundles always have an id, though it is usually a generated UUID.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Condition.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "id"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true
      },
      {
        "id" : "Condition-argoprofile.meta",
        "path" : "Condition.meta",
        "name" : "Condition-argoprofile.meta",
        "short" : "Metadata about the resource",
        "definition" : "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Condition.meta",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Meta"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true
      },
      {
        "id" : "Condition-argoprofile.meta.id",
        "path" : "Condition.meta.id",
        "representation" : [
          "xmlAttr"
        ],
        "name" : "Condition-argoprofile.meta.id",
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references).",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "id"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Condition-argoprofile.meta.extension",
        "path" : "Condition.meta.extension",
        "name" : "Condition-argoprofile.meta.extension",
        "slicing" : {
          "id" : "4",
          "discriminator" : [
            "url"
          ],
          "ordered" : false,
          "rules" : "open"
        },
        "short" : "Additional Content defined by implementations",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comments" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "sourcesystem",
        "path" : "Condition.meta.extension",
        "name" : "sourcesystem",
        "definition" : "FHIR: This provides a minimal amount of Provenance information that can be used to track or differentiate the source of information in the resource. The source may identify another FHIR server, document, message, database, etc.\nFHIM: Identifies the computer system that created the medical record. This optional field may also be used to indicate that the medical record was originally created by a different organization from the one that is currently storing or utilizing the record in that the assigning authority of the Id could be set to that originating organization. This property is optional, as some systems will assume that all records that it contains originated in that system, however it is anticipated that it will become increasingly commonplace for records from multiple systems and organizations will be comingled in order to provide a complete picture of the patient's health record.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Condition.meta.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : [
              "http://mcodeinitiative.org/us/mcode/StructureDefinition/obf-SourceSystem-extension"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "Condition-argoprofile.meta.versionId",
        "path" : "Condition.meta.versionId",
        "name" : "Condition-argoprofile.meta.versionId",
        "short" : "Version specific identifier",
        "definition" : "The version specific identifier, as it appears in the version portion of the URL. This values changes when the resource is created, updated, or deleted.",
        "comments" : "The server assigns this value, and ignores what the client specifies, except in the case that the server is imposing version integrity on updates/deletes.",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "id"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true
      },
      {
        "id" : "Condition-argoprofile.meta.lastUpdated",
        "path" : "Condition.meta.lastUpdated",
        "name" : "Condition-argoprofile.meta.lastUpdated",
        "short" : "When the resource version last changed",
        "definition" : "When the resource last changed - e.g. when the version changed.",
        "comments" : "This value is always populated except when the resource is first being created. The server / resource manager sets this value; what a client provides is irrelevant.",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "instant"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true
      },
      {
        "id" : "Condition-argoprofile.meta.profile",
        "path" : "Condition.meta.profile",
        "name" : "Condition-argoprofile.meta.profile",
        "short" : "Profiles this resource claims to conform to",
        "definition" : "A list of profiles [[[StructureDefinition]]]s that this resource claims to conform to. The URL is a reference to [[[StructureDefinition.url]]].",
        "comments" : "It is up to the server and/or other infrastructure of policy to determine whether/how these claims are verified and/or updated over time.  The list of profile URLs is a set.",
        "min" : 0,
        "max" : "*",
        "type" : [
          {
            "code" : "uri"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true
      },
      {
        "id" : "Condition-argoprofile.meta.security",
        "path" : "Condition.meta.security",
        "name" : "Condition-argoprofile.meta.security",
        "short" : "Security Labels applied to this resource",
        "definition" : "Security labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure.",
        "comments" : "The security labels can be updated without changing the stated version of the resource  The list of security labels is a set. Uniqueness is based the system/code, and version and display are ignored.",
        "min" : 0,
        "max" : "*",
        "type" : [
          {
            "code" : "Coding"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true,
        "binding" : {
          "strength" : "extensible",
          "description" : "Security Labels from the Healthcare Privacy and Security Classification System.",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/security-labels"
          }
        }
      },
      {
        "id" : "Condition-argoprofile.meta.tag",
        "path" : "Condition.meta.tag",
        "name" : "Condition-argoprofile.meta.tag",
        "short" : "Tags applied to this resource",
        "definition" : "Tags applied to this resource. Tags are intended to be used to identify and relate resources to process and workflow, and applications are not required to consider the tags when interpreting the meaning of a resource.",
        "comments" : "The tags can be updated without changing the stated version of the resource.  The list of tags is a set. Uniqueness is based the system/code, and version and display are ignored.",
        "min" : 0,
        "max" : "*",
        "type" : [
          {
            "code" : "Coding"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true,
        "binding" : {
          "strength" : "example",
          "description" : "Codes that represent various types of tags, commonly workflow-related; e.g. \"Needs review by Dr. Jones\""
        }
      },
      {
        "id" : "Condition-argoprofile.implicitRules",
        "path" : "Condition.implicitRules",
        "name" : "Condition-argoprofile.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.",
        "comments" : "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 as much as possible.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Condition.implicitRules",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "uri"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : true,
        "isSummary" : true
      },
      {
        "id" : "Condition-argoprofile.language",
        "path" : "Condition.language",
        "name" : "Condition-argoprofile.language",
        "short" : "Language of the resource content",
        "definition" : "The base language in which the resource is written.",
        "comments" : "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" : "Condition.language",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "code"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "binding" : {
          "strength" : "required",
          "description" : "A human language.",
          "valueSetReference" : {
            "reference" : "http://tools.ietf.org/html/bcp47"
          }
        }
      },
      {
        "id" : "Condition-argoprofile.text",
        "path" : "Condition.text",
        "name" : "Condition-argoprofile.text",
        "short" : "Text summary of the resource, for human interpretation",
        "definition" : "A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.",
        "comments" : "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative.",
        "alias" : [
          "narrative",
          "html",
          "xhtml",
          "display"
        ],
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Condition.text",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Narrative"
          }
        ],
        "maxLength" : 0,
        "condition" : [
          "dom-1"
        ],
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "Act.text?"
          }
        ]
      },
      {
        "id" : "Condition-argoprofile.contained",
        "path" : "Condition.contained",
        "name" : "Condition-argoprofile.contained",
        "short" : "Contained, inline Resources",
        "definition" : "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.",
        "comments" : "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again.",
        "alias" : [
          "inline resources",
          "anonymous resources",
          "contained resources"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Condition.contained",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Resource"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Condition-argoprofile.extension",
        "path" : "Condition.extension",
        "name" : "Condition-argoprofile.extension",
        "slicing" : {
          "id" : "3",
          "discriminator" : [
            "url"
          ],
          "ordered" : false,
          "rules" : "open"
        },
        "short" : "Additional Content defined by implementations",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the resource. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comments" : "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" : "Condition.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "author",
        "path" : "Condition.extension",
        "name" : "author",
        "definition" : "The actor who created the item and it responsible for the content (regardless of the information source or who recorded it). If only the author is given, it is assumed the author is the information source and the recorder.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Condition.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : [
              "http://mcodeinitiative.org/us/mcode/StructureDefinition/obf-Author-extension"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "annotation",
        "path" : "Condition.extension",
        "name" : "annotation",
        "definition" : "An added or follow-up note, often after the fact, that contains metadata about who made the statement and when.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Condition.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : [
              "http://mcodeinitiative.org/us/mcode/StructureDefinition/obf-Annotation-extension"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "dateofdiagnosis",
        "path" : "Condition.extension",
        "name" : "dateofdiagnosis",
        "definition" : "The date the disease was first clinically recognized with sufficient certainty, regardless of whether it was fully characterized at that time.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Condition.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : [
              "http://mcodeinitiative.org/us/mcode/StructureDefinition/obf-DateOfDiagnosis-extension"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : true,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "histologymorphologybehavior",
        "path" : "Condition.extension",
        "name" : "histologymorphologybehavior",
        "definition" : "A description of the morphologic and behavioral characteristics of the cancer.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Condition.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : [
              "http://mcodeinitiative.org/us/mcode/StructureDefinition/onco-core-HistologyMorphologyBehavior-extension"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : true,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "Condition-argoprofile.modifierExtension",
        "path" : "Condition.modifierExtension",
        "name" : "Condition-argoprofile.modifierExtension",
        "short" : "Extensions that cannot be ignored",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
        "comments" : "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" : "Condition.modifierExtension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : true,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Condition-argoprofile.identifier",
        "path" : "Condition.identifier",
        "name" : "Condition-argoprofile.identifier",
        "short" : "External Ids for this condition",
        "definition" : "This records identifiers associated with this condition that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation).",
        "requirements" : "Need to allow connection to a wider workflow.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Condition.identifier",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Identifier"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".id"
          },
          {
            "identity" : "w5",
            "map" : "id"
          }
        ]
      },
      {
        "id" : "Condition-argoprofile.patient",
        "path" : "Condition.patient",
        "name" : "Condition-argoprofile.patient",
        "short" : "Who has the condition?",
        "definition" : "Indicates the patient who the condition record is associated with.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "Condition.patient",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Reference",
            "profile" : [
              "http://mcodeinitiative.org/us/mcode/StructureDefinition/obf-Patient"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : true,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "PID-3"
          },
          {
            "identity" : "rim",
            "map" : ".participation[typeCode=SBJ].role[classCode=PAT]"
          },
          {
            "identity" : "w5",
            "map" : "who.focus"
          },
          {
            "identity" : "us-core-stu3",
            "map" : "Condition.patient"
          }
        ]
      },
      {
        "id" : "Condition-argoprofile.encounter",
        "path" : "Condition.encounter",
        "name" : "Condition-argoprofile.encounter",
        "short" : "Encounter when condition first asserted",
        "definition" : "Encounter during which the condition was first asserted.",
        "comments" : "This record indicates the encounter this particular record is associated with.  In the case of a \"new\" diagnosis reflecting ongoing/revised information about the condition, this might be distinct from the first encounter in which the underlying condition was first \"known\".",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Condition.encounter",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Reference",
            "profile" : [
              "http://hl7.org/fhir/StructureDefinition/Encounter"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "PV1-19 (+PV1-54)"
          },
          {
            "identity" : "rim",
            "map" : ".inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]"
          },
          {
            "identity" : "w5",
            "map" : "context"
          }
        ]
      },
      {
        "id" : "Condition-argoprofile.asserter",
        "path" : "Condition.asserter",
        "name" : "Condition-argoprofile.asserter",
        "short" : "The information comes from a practitioner who asserts the condition",
        "definition" : "The information comes from a practitioner who asserts the condition.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Condition.asserter",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Reference",
            "profile" : [
              "http://hl7.org/fhir/StructureDefinition/Practitioner"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "REL-7.1 identifier + REL-7.12 type code"
          },
          {
            "identity" : "rim",
            "map" : ".participation[typeCode=AUT].role"
          },
          {
            "identity" : "w5",
            "map" : "who.author"
          }
        ]
      },
      {
        "id" : "Condition-argoprofile.dateRecorded",
        "path" : "Condition.dateRecorded",
        "name" : "Condition-argoprofile.dateRecorded",
        "short" : "When first entered",
        "definition" : "A date, when  the Condition statement was documented.",
        "comments" : "The Date Recorded represents the date when this particular Condition record was created in the EHR, not the date of the most recent update in terms of when severity, abatement, etc. were specified.  The date of the last record modification can be retrieved from the resource metadata.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Condition.dateRecorded",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "date"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "REL-11"
          },
          {
            "identity" : "rim",
            "map" : ".participation[typeCode=AUT].time"
          },
          {
            "identity" : "w5",
            "map" : "when.recorded"
          }
        ]
      },
      {
        "id" : "Condition-argoprofile.code",
        "path" : "Condition.code",
        "name" : "Condition-argoprofile.code",
        "short" : "Identification of the condition, problem or diagnosis",
        "definition" : "Identification of the condition, problem or diagnosis.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "Condition.code",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : true,
        "isModifier" : false,
        "isSummary" : false,
        "binding" : {
          "strength" : "extensible",
          "valueSetReference" : {
            "reference" : "http://mcodeinitiative.org/us/mcode/ValueSet/onco-core-PrimaryOrUncertainBehaviorCancerDisorderVS"
          }
        },
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "PRB-3"
          },
          {
            "identity" : "rim",
            "map" : ".value"
          },
          {
            "identity" : "w5",
            "map" : "what"
          },
          {
            "identity" : "us-core-stu3",
            "map" : "Condition.code"
          }
        ]
      },
      {
        "id" : "Condition-argoprofile.category",
        "path" : "Condition.category",
        "name" : "Condition-argoprofile.category",
        "short" : "complaint | symptom | finding | diagnosis",
        "definition" : "A category assigned to the condition.",
        "comments" : "The categorization is often highly contextual and may appear poorly differentiated or not very useful in other contexts.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "Condition.category",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "binding" : {
          "strength" : "preferred",
          "description" : "Extended category code valueset to support the intent of the separate concepts of problems and health concerns",
          "valueSetReference" : {
            "reference" : "http://fhir.org/guides/argonaut/ValueSet/condition-category"
          }
        },
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "'problem' if from PRB-3. 'diagnosis' if from DG1 segment in PV1 message"
          },
          {
            "identity" : "rim",
            "map" : ".code"
          },
          {
            "identity" : "w5",
            "map" : "class"
          },
          {
            "identity" : "us-core-stu3",
            "map" : "Condition.category"
          }
        ]
      },
      {
        "id" : "Condition-argoprofile.category.id",
        "path" : "Condition.category.id",
        "representation" : [
          "xmlAttr"
        ],
        "name" : "Condition-argoprofile.category.id",
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references).",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "id"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Condition-argoprofile.category.extension",
        "path" : "Condition.category.extension",
        "name" : "Condition-argoprofile.category.extension",
        "short" : "Additional Content defined by implementations",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comments" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Condition-argoprofile.category.coding",
        "path" : "Condition.category.coding",
        "name" : "Condition-argoprofile.category.coding",
        "slicing" : {
          "id" : "2",
          "discriminator" : [
            "code"
          ],
          "ordered" : false,
          "rules" : "open"
        },
        "short" : "Code defined by a terminology system",
        "definition" : "A reference to a code defined by a terminology system.",
        "comments" : "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labelled as UserSelected = true.",
        "requirements" : "Allows for translations and alternate encodings within a code system.  Also supports communication of the same instance to systems requiring different encodings.",
        "min" : 1,
        "max" : "*",
        "type" : [
          {
            "code" : "Coding"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "orim",
            "map" : "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"
          },
          {
            "identity" : "v2",
            "map" : "C*E.1-8, C*E.10-22"
          },
          {
            "identity" : "rim",
            "map" : "union(., ./translation)"
          }
        ]
      },
      {
        "id" : "Fixed_64572001",
        "path" : "Condition.category.coding",
        "name" : "Fixed_64572001",
        "short" : "Disease",
        "definition" : "Disease",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "Coding"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true
      },
      {
        "id" : "Condition-argoprofile.category.coding-Fixed-64572001.id",
        "path" : "Condition.category.coding.id",
        "representation" : [
          "xmlAttr"
        ],
        "name" : "Condition-argoprofile.category.coding-Fixed-64572001.id",
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references).",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "id"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Condition-argoprofile.category.coding-Fixed-64572001.extension",
        "path" : "Condition.category.coding.extension",
        "name" : "Condition-argoprofile.category.coding-Fixed-64572001.extension",
        "short" : "Additional Content defined by implementations",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comments" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Condition-argoprofile.category.coding-Fixed-64572001.system",
        "path" : "Condition.category.coding.system",
        "name" : "Condition-argoprofile.category.coding-Fixed-64572001.system",
        "short" : "Identity of the terminology system",
        "definition" : "The identification of the code system that defines the meaning of the symbol in the code.",
        "comments" : "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
        "requirements" : "Need to be unambiguous about the source of the definition of the symbol.",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "uri"
          }
        ],
        "fixedUri" : "http://snomed.info/sct",
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "orim",
            "map" : "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
          },
          {
            "identity" : "v2",
            "map" : "C*E.3"
          },
          {
            "identity" : "rim",
            "map" : "./codeSystem"
          }
        ]
      },
      {
        "id" : "Condition-argoprofile.category.coding-Fixed-64572001.version",
        "path" : "Condition.category.coding.version",
        "name" : "Condition-argoprofile.category.coding-Fixed-64572001.version",
        "short" : "Version of the system - if relevant",
        "definition" : "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
        "comments" : "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "string"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "orim",
            "map" : "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
          },
          {
            "identity" : "v2",
            "map" : "C*E.7"
          },
          {
            "identity" : "rim",
            "map" : "./codeSystemVersion"
          }
        ]
      },
      {
        "id" : "Condition-argoprofile.category.coding-Fixed-64572001.code",
        "path" : "Condition.category.coding.code",
        "name" : "Condition-argoprofile.category.coding-Fixed-64572001.code",
        "short" : "Symbol in syntax defined by the system",
        "definition" : "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
        "requirements" : "Need to refer to a particular code in the system.",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "code"
          }
        ],
        "fixedCode" : "64572001",
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "orim",
            "map" : "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
          },
          {
            "identity" : "v2",
            "map" : "C*E.1"
          },
          {
            "identity" : "rim",
            "map" : "./code"
          }
        ]
      },
      {
        "id" : "Condition-argoprofile.category.coding-Fixed-64572001.display",
        "path" : "Condition.category.coding.display",
        "name" : "Condition-argoprofile.category.coding-Fixed-64572001.display",
        "short" : "Representation defined by the system",
        "definition" : "A representation of the meaning of the code in the system, following the rules of the system.",
        "requirements" : "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "string"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "orim",
            "map" : "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
          },
          {
            "identity" : "v2",
            "map" : "C*E.2 - but note this is not well followed"
          },
          {
            "identity" : "rim",
            "map" : "CV.displayName"
          }
        ]
      },
      {
        "id" : "Condition-argoprofile.category.coding-Fixed-64572001.use",
        "path" : "Condition.category.coding.userSelected",
        "name" : "Condition-argoprofile.category.coding-Fixed-64572001.use",
        "short" : "If this coding was chosen directly by the user",
        "definition" : "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
        "comments" : "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
        "requirements" : "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "boolean"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "orim",
            "map" : "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"
          },
          {
            "identity" : "v2",
            "map" : "Sometimes implied by being first"
          },
          {
            "identity" : "rim",
            "map" : "CD.codingRationale"
          }
        ]
      },
      {
        "id" : "Condition-argoprofile.category.text",
        "path" : "Condition.category.text",
        "name" : "Condition-argoprofile.category.text",
        "short" : "Plain text representation of the concept",
        "definition" : "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.",
        "comments" : "Very often the text is the same as a displayName of one of the codings.",
        "requirements" : "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "string"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "orim",
            "map" : "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"
          },
          {
            "identity" : "v2",
            "map" : "C*E.9. But note many systems use C*E.2 for this"
          },
          {
            "identity" : "rim",
            "map" : "./originalText[mediaType/code=\"text/plain\"]/data"
          }
        ]
      },
      {
        "id" : "Condition-argoprofile.clinicalStatus",
        "path" : "Condition.clinicalStatus",
        "name" : "Condition-argoprofile.clinicalStatus",
        "short" : "active | relapse | remission | resolved",
        "definition" : "The clinical status of the condition.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Condition.clinicalStatus",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "code"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : true,
        "isModifier" : true,
        "isSummary" : false,
        "binding" : {
          "strength" : "required",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/condition-clinical"
          }
        },
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "PRB-14 / DG1-6"
          },
          {
            "identity" : "w5",
            "map" : "status"
          },
          {
            "identity" : "us-core-stu3",
            "map" : "Condition.clinicalStatus"
          }
        ]
      },
      {
        "id" : "Condition-argoprofile.verificationStatus",
        "path" : "Condition.verificationStatus",
        "name" : "Condition-argoprofile.verificationStatus",
        "short" : "provisional | differential | confirmed | refuted | entered-in-error | unknown",
        "definition" : "The verification status to support the clinical status of the condition.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "Condition.verificationStatus",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "code"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : true,
        "isModifier" : true,
        "isSummary" : false,
        "binding" : {
          "strength" : "required",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/condition-ver-status"
          }
        },
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "PRB-13"
          },
          {
            "identity" : "rim",
            "map" : ".code (pre or post-coordinated in)  Can use valueNegationInd for refuted"
          },
          {
            "identity" : "w5",
            "map" : "status"
          },
          {
            "identity" : "us-core-stu3",
            "map" : "Condition.verificationStatus"
          }
        ]
      },
      {
        "id" : "Condition-argoprofile.severity",
        "path" : "Condition.severity",
        "name" : "Condition-argoprofile.severity",
        "short" : "Subjective severity of condition",
        "definition" : "A subjective assessment of the severity of the condition as evaluated by the clinician.",
        "comments" : "Coding of the severity with a terminology is preferred, where possible.",
        "min" : 0,
        "max" : "0",
        "base" : {
          "path" : "Condition.severity",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true,
        "binding" : {
          "strength" : "preferred",
          "description" : "A subjective assessment of the severity of the condition as evaluated by the clinician.",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/condition-severity"
          }
        },
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "PRB-26 / ABS-3"
          },
          {
            "identity" : "rim",
            "map" : "Can be pre/post-coordinated into value.  Or ./inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"severity\"].value"
          },
          {
            "identity" : "w5",
            "map" : "grade"
          }
        ]
      },
      {
        "id" : "Condition-argoprofile.onsetx",
        "path" : "Condition.onset[x]",
        "name" : "Condition-argoprofile.onsetx",
        "short" : "Estimated or actual date,  date-time, or age",
        "definition" : "Estimated or actual date or date-time  the condition began, in the opinion of the clinician.",
        "comments" : "Age is generally used when the patient reports an age at which the Condition began to occur.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Condition.onset[x]",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "dateTime"
          },
          {
            "code" : "Quantity",
            "profile" : [
              "http://mcodeinitiative.org/us/mcode/StructureDefinition/obf-datatype-Age"
            ]
          },
          {
            "code" : "Period"
          },
          {
            "code" : "Range"
          },
          {
            "code" : "string"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "PRB-16"
          },
          {
            "identity" : "rim",
            "map" : ".effectiveTime.low or .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"age at onset\"].value"
          },
          {
            "identity" : "w5",
            "map" : "when.init"
          }
        ]
      },
      {
        "id" : "Condition-argoprofile.abatementx",
        "path" : "Condition.abatement[x]",
        "name" : "Condition-argoprofile.abatementx",
        "short" : "If/when in resolution/remission",
        "definition" : "The date or estimated date that the condition resolved or went into remission. This is called \"abatement\" because of the many overloaded connotations associated with \"remission\" or \"resolution\" - Conditions are never really resolved, but they can abate.",
        "comments" : "There is no explicit distinction between resolution and remission because in many cases the distinction is not clear. Age is generally used when the patient reports an age at which the Condition abated.  If there is no abatement element, it is unknown whether the condition has resolved or entered remission; applications and users should generally assume that the condition is still valid.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Condition.abatement[x]",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "dateTime"
          },
          {
            "code" : "Quantity",
            "profile" : [
              "http://mcodeinitiative.org/us/mcode/StructureDefinition/obf-datatype-Age"
            ]
          },
          {
            "code" : "boolean"
          },
          {
            "code" : "Period"
          },
          {
            "code" : "Range"
          },
          {
            "code" : "string"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".effectiveTime.high or .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"age at remission\"].value or .inboundRelationship[typeCode=SUBJ]source[classCode=CONC, moodCode=EVN].status=completed"
          },
          {
            "identity" : "w5",
            "map" : "when.done"
          }
        ]
      },
      {
        "id" : "Condition-argoprofile.stage",
        "path" : "Condition.stage",
        "name" : "Condition-argoprofile.stage",
        "short" : "Stage/grade, usually assessed formally",
        "definition" : "Clinical stage or grade of a condition. May include formal severity assessments.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Condition.stage",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "BackboneElement"
          }
        ],
        "maxLength" : 0,
        "constraint" : [
          {
            "key" : "con-1",
            "severity" : "error",
            "human" : "Stage SHALL have summary or assessment",
            "xpath" : "exists(f:summary) or exists(f:assessment)"
          }
        ],
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "./inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"stage/grade\"]"
          }
        ]
      },
      {
        "id" : "Condition-argoprofile.stage.id",
        "path" : "Condition.stage.id",
        "representation" : [
          "xmlAttr"
        ],
        "name" : "Condition-argoprofile.stage.id",
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references).",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Condition.stage.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "id"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Condition-argoprofile.stage.extension",
        "path" : "Condition.stage.extension",
        "name" : "Condition-argoprofile.stage.extension",
        "slicing" : {
          "id" : "5",
          "discriminator" : [
            "url"
          ],
          "ordered" : false,
          "rules" : "open"
        },
        "short" : "Additional Content defined by implementations",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comments" : "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" : "Condition.stage.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "type",
        "path" : "Condition.stage.extension",
        "name" : "type",
        "definition" : "A code describing the item at a greater level of detail.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Condition.stage.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : [
              "http://mcodeinitiative.org/us/mcode/StructureDefinition/obf-datatype-Type-extension"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "Condition-argoprofile.stage.extension-type.id",
        "path" : "Condition.stage.extension.id",
        "representation" : [
          "xmlAttr"
        ],
        "name" : "Condition-argoprofile.stage.extension-type.id",
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references).",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "id"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Condition-argoprofile.stage.extension-type.extension",
        "path" : "Condition.stage.extension.extension",
        "name" : "Condition-argoprofile.stage.extension-type.extension",
        "short" : "Additional Content defined by implementations",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comments" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "0",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Condition-argoprofile.stage.extension-type.url",
        "path" : "Condition.stage.extension.url",
        "representation" : [
          "xmlAttr"
        ],
        "name" : "Condition-argoprofile.stage.extension-type.url",
        "short" : "identifies the meaning of the extension",
        "definition" : "Source of the definition for the extension code - a logical name or a URL.",
        "comments" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition should be version specific.  This will ideally be the URI for the Resource Profile defining the extension, with the code for the extension after a #.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "Extension.url",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "uri"
          }
        ],
        "fixedUri" : "http://mcodeinitiative.org/us/mcode/StructureDefinition/obf-datatype-Type-extension",
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Condition-argoprofile.stage.extension-type.valueCodeableConcept",
        "path" : "Condition.stage.extension.valueCodeableConcept",
        "name" : "Condition-argoprofile.stage.extension-type.valueCodeableConcept",
        "short" : "Value of extension",
        "definition" : "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "Extension.value[x]",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "binding" : {
          "strength" : "example",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/condition-stage-type"
          }
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Condition-argoprofile.stage.modifierExtension",
        "path" : "Condition.stage.modifierExtension",
        "name" : "Condition-argoprofile.stage.modifierExtension",
        "short" : "Extensions that cannot be ignored",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
        "comments" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias" : [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Condition.stage.modifierExtension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : true,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Condition-argoprofile.stage.summary",
        "path" : "Condition.stage.summary",
        "name" : "Condition-argoprofile.stage.summary",
        "short" : "Simple summary (disease specific)",
        "definition" : "A simple summary of the stage such as \"Stage 3\". The determination of the stage is disease-specific.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Condition.stage.summary",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "maxLength" : 0,
        "condition" : [
          "con-1"
        ],
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true,
        "binding" : {
          "strength" : "example",
          "description" : "Codes describing condition stages (e.g. Cancer stages).",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/condition-stage"
          }
        },
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "PRB-14"
          },
          {
            "identity" : "rim",
            "map" : ".value"
          }
        ]
      },
      {
        "id" : "Condition-argoprofile.stage.assessment",
        "path" : "Condition.stage.assessment",
        "name" : "Condition-argoprofile.stage.assessment",
        "short" : "Formal record of assessment",
        "definition" : "Reference to a formal record of the evidence on which the staging assessment is based.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Condition.stage.assessment",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Reference",
            "profile" : [
              "http://mcodeinitiative.org/us/mcode/StructureDefinition/onco-core-CancerStageGroup"
            ]
          }
        ],
        "maxLength" : 0,
        "condition" : [
          "con-1"
        ],
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".self"
          }
        ]
      },
      {
        "id" : "Condition-argoprofile.evidence",
        "path" : "Condition.evidence",
        "name" : "Condition-argoprofile.evidence",
        "short" : "Supporting evidence",
        "definition" : "Supporting Evidence / manifestations that are the basis on which this condition is suspected or confirmed.",
        "comments" : "The evidence may be a simple list of coded symptoms/manifestations, or references to observations or formal assessments, or both.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Condition.evidence",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "BackboneElement"
          }
        ],
        "maxLength" : 0,
        "constraint" : [
          {
            "key" : "con-2",
            "severity" : "error",
            "human" : "evidence SHALL have code or details",
            "xpath" : "exists(f:code) or exists(f:detail)"
          }
        ],
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".outboundRelationship[typeCode=SPRT].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id" : "Condition-argoprofile.evidence.id",
        "path" : "Condition.evidence.id",
        "representation" : [
          "xmlAttr"
        ],
        "name" : "Condition-argoprofile.evidence.id",
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references).",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Condition.evidence.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "id"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Condition-argoprofile.evidence.extension",
        "path" : "Condition.evidence.extension",
        "name" : "Condition-argoprofile.evidence.extension",
        "short" : "Additional Content defined by implementations",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comments" : "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" : "Condition.evidence.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Condition-argoprofile.evidence.modifierExtension",
        "path" : "Condition.evidence.modifierExtension",
        "name" : "Condition-argoprofile.evidence.modifierExtension",
        "short" : "Extensions that cannot be ignored",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
        "comments" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias" : [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Condition.evidence.modifierExtension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : true,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Condition-argoprofile.evidence.code",
        "path" : "Condition.evidence.code",
        "name" : "Condition-argoprofile.evidence.code",
        "short" : "Manifestation/symptom",
        "definition" : "A manifestation or symptom that led to the recording of this condition.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Condition.evidence.code",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "maxLength" : 0,
        "condition" : [
          "con-2"
        ],
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true,
        "binding" : {
          "strength" : "example",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/clinical-findings"
          }
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "[code=\"diagnosis\"].value"
          }
        ]
      },
      {
        "id" : "Condition-argoprofile.evidence.detail",
        "path" : "Condition.evidence.detail",
        "name" : "Condition-argoprofile.evidence.detail",
        "short" : "Supporting information found elsewhere",
        "definition" : "Links to other relevant information, including pathology reports.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Condition.evidence.detail",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Reference",
            "profile" : [
              "http://mcodeinitiative.org/us/mcode/StructureDefinition/obf-Resource"
            ]
          }
        ],
        "maxLength" : 0,
        "condition" : [
          "con-2"
        ],
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".self"
          }
        ]
      },
      {
        "id" : "Condition-argoprofile.bodySite",
        "path" : "Condition.bodySite",
        "name" : "Condition-argoprofile.bodySite",
        "short" : "Anatomical location, if relevant",
        "definition" : "The anatomical location where this condition manifests itself.",
        "comments" : "May be a summary code, or a reference to a very precise definition of the location, or both.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Condition.bodySite",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : true,
        "isModifier" : false,
        "isSummary" : true,
        "binding" : {
          "strength" : "preferred",
          "valueSetReference" : {
            "reference" : "http://mcodeinitiative.org/us/mcode/ValueSet/onco-core-CancerBodyLocationVS"
          }
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".targetBodySiteCode"
          }
        ]
      },
      {
        "id" : "Condition-argoprofile.bodySite.id",
        "path" : "Condition.bodySite.id",
        "representation" : [
          "xmlAttr"
        ],
        "name" : "Condition-argoprofile.bodySite.id",
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references).",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "id"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Condition-argoprofile.bodySite.extension",
        "path" : "Condition.bodySite.extension",
        "name" : "Condition-argoprofile.bodySite.extension",
        "slicing" : {
          "id" : "1",
          "discriminator" : [
            "url"
          ],
          "ordered" : false,
          "rules" : "open"
        },
        "short" : "Additional Content defined by implementations",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comments" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "laterality",
        "path" : "Condition.bodySite.extension",
        "name" : "laterality",
        "definition" : "Body side of the body location, if needed to distinguish from a similar location on the other side of the body.\n\nThe laterality element is part of BodyLocation, a flexible structure that allows the location to be determined by a single code, or a code plus laterality and/or orientation. The body location can also be specified in relation to one or more body landmarks. SNOMED CT is used in all cases.\n\n* Code only: The code should include (precoordinate) laterality and/orientation to the degree necessary to completely specify the body location.\n* Code plus laterality and/or orientation: The basic code augmented by codes specifying the body side and/or anatomical orientation.\n* Relation to landmark: The location relative to a landmark is specified by:\n1. Establishing the location and type of landmark using a body site code and optional laterality/orientation, and\n2. Specifying the direction and distance from the landmark to the body location.\n\nNote that BodyLocation is a data type (a reusable structure), not a stand-alone entity. The concept is similar to how a postal address can apply to a person, location, or organization. This contrasts with FHIR's stand-alone BodySite (aka BodyStructure in r4) which 'is not ... intended for describing the type of anatomical location but rather a specific body site on a specific patient' (FHIR 3.5).",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Condition.bodySite.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : [
              "http://mcodeinitiative.org/us/mcode/StructureDefinition/obf-datatype-Laterality-extension"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "anatomicalorientation",
        "path" : "Condition.bodySite.extension",
        "name" : "anatomicalorientation",
        "definition" : "AnatomicalOrientation of the body location, if needed to distinguish from a similar location in another orientation.\nThe orientation element is part of BodyLocation, a flexible structure that allows the location to be determined by a single code, or a code plus laterality and/or orientation. The body location can also be specified in relation to one or more body landmarks. SNOMED CT is used in all cases.\n\n* Code only: The code should include (precoordinate) laterality and/orientation to the degree necessary to completely specify the body location.\n* Code plus laterality and/or orientation: The basic code augmented by codes specifying the body side and/or anatomical orientation.\n* Relation to landmark: The location relative to a landmark is specified by:\n1. Establishing the location and type of landmark using a body site code and optional laterality/orientation, and\n2. Specifying the direction and distance from the landmark to the body location.\n\nNote that BodyLocation is a data type (a reusable structure), not a stand-alone entity. The concept is similar to how a postal address can apply to a person, location, or organization. This contrasts with FHIR's stand-alone BodySite (aka BodyStructure in r4) which 'is not ... intended for describing the type of anatomical location but rather a specific body site on a specific patient' (FHIR 3.5).",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Condition.bodySite.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : [
              "http://mcodeinitiative.org/us/mcode/StructureDefinition/obf-datatype-AnatomicalOrientation-extension"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "relationtolandmark",
        "path" : "Condition.bodySite.extension",
        "name" : "relationtolandmark",
        "definition" : "The relationship between a landmark that helps determine a body location and the body location itself. The location relative to a landmark is specified by:\n* Specifying the location and type of landmark using a body site code and optional laterality/orientation,\n* Specifying the direction from the landmark to the body location, and\n* Specifying the distance from the landmark to the body location.\n\nThe RelationToLandmark element is part of BodyLocation, a flexible structure that allows the location to be determined by a single code, or a code plus laterality and/or orientation. The body location can also be specified in relation to one or more body landmarks. SNOMED CT is used in all cases.\n\n* Code only: The code should include (precoordinate) laterality and/orientation to the degree necessary to completely specify the body location.\n* Code plus laterality and/or orientation: The basic code augmented by codes specifying the body side and/or anatomical orientation.\n* Relation to landmark: The location relative to a landmark is specified by:\n1. Establishing the location and type of landmark using a body site code and optional laterality/orientation, and\n2. Specifying the direction and distance from the landmark to the body location.\n\nNote that BodyLocation is a data type (a reusable structure), not a stand-alone entity. The concept is similar to how a postal address can apply to a person, location, or organization. This contrasts with FHIR's stand-alone BodySite (aka BodyStructure in r4) which 'is not ... intended for describing the type of anatomical location but rather a specific body site on a specific patient' (FHIR 3.5).",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Condition.bodySite.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : [
              "http://mcodeinitiative.org/us/mcode/StructureDefinition/obf-datatype-RelationToLandmark-extension"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "Condition-argoprofile.bodySite.coding",
        "path" : "Condition.bodySite.coding",
        "name" : "Condition-argoprofile.bodySite.coding",
        "short" : "Code defined by a terminology system",
        "definition" : "A reference to a code defined by a terminology system.",
        "comments" : "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labelled as UserSelected = true.",
        "requirements" : "Allows for translations and alternate encodings within a code system.  Also supports communication of the same instance to systems requiring different encodings.",
        "min" : 0,
        "max" : "*",
        "type" : [
          {
            "code" : "Coding"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "orim",
            "map" : "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"
          },
          {
            "identity" : "v2",
            "map" : "C*E.1-8, C*E.10-22"
          },
          {
            "identity" : "rim",
            "map" : "union(., ./translation)"
          }
        ]
      },
      {
        "id" : "Condition-argoprofile.bodySite.text",
        "path" : "Condition.bodySite.text",
        "name" : "Condition-argoprofile.bodySite.text",
        "short" : "Plain text representation of the concept",
        "definition" : "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.",
        "comments" : "Very often the text is the same as a displayName of one of the codings.",
        "requirements" : "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "string"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "orim",
            "map" : "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"
          },
          {
            "identity" : "v2",
            "map" : "C*E.9. But note many systems use C*E.2 for this"
          },
          {
            "identity" : "rim",
            "map" : "./originalText[mediaType/code=\"text/plain\"]/data"
          }
        ]
      },
      {
        "id" : "Condition-argoprofile.notes",
        "path" : "Condition.notes",
        "name" : "Condition-argoprofile.notes",
        "short" : "Additional information about the Condition",
        "definition" : "Additional information about the Condition. This is a general notes/comments entry  for description of the Condition, its diagnosis and prognosis.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Condition.notes",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "NTE child of PRB"
          },
          {
            "identity" : "rim",
            "map" : ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value"
          }
        ]
      }
    ]
  },
  "differential" : {
    "element" : [
      {
        "id" : "Condition-argoprofile",
        "path" : "Condition",
        "name" : "Condition-argoprofile",
        "short" : "onco-core-PrimaryCancerCondition",
        "definition" : "Records the history of the primary cancer condition, the original or first tumor in the body (reference https://www.cancer.gov/publications/dictionaries/cancer-terms/def/primary-tumor). Cancers that are not clearly secondary (i.e., of uncertain origin or behavior) should be documented as primary.\n\nCancer staging information summarized in this profile should reflect the most recent staging assessment on the patient, and should be updated if and when there is a new staging assessment. Past staging assessments will be preserved in instances of the TNMClinicalStageGroup and/or TNMPathologicalStageGroup, which refer back to PrimaryCancerCondition.\n\nConformance note: For the code attribute, to be compliant with [US Core Profiles](http://hl7.org/fhir/us/core/STU3/index.html), SNOMED CT must be used unless there is no suitable code, in which case ICD-10-CM can be used.",
        "min" : 0,
        "type" : [
          {
            "code" : "argo-condition"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "Condition-argoprofile.meta",
        "path" : "Condition.meta",
        "name" : "Condition-argoprofile.meta",
        "min" : 0,
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "Condition-argoprofile.meta.extension",
        "path" : "Condition.meta.extension",
        "name" : "Condition-argoprofile.meta.extension",
        "slicing" : {
          "id" : "4",
          "discriminator" : [
            "url"
          ],
          "ordered" : false,
          "rules" : "open"
        },
        "min" : 0,
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "sourcesystem",
        "path" : "Condition.meta.extension",
        "name" : "sourcesystem",
        "definition" : "FHIR: This provides a minimal amount of Provenance information that can be used to track or differentiate the source of information in the resource. The source may identify another FHIR server, document, message, database, etc.\nFHIM: Identifies the computer system that created the medical record. This optional field may also be used to indicate that the medical record was originally created by a different organization from the one that is currently storing or utilizing the record in that the assigning authority of the Id could be set to that originating organization. This property is optional, as some systems will assume that all records that it contains originated in that system, however it is anticipated that it will become increasingly commonplace for records from multiple systems and organizations will be comingled in order to provide a complete picture of the patient's health record.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Condition.meta.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : [
              "http://mcodeinitiative.org/us/mcode/StructureDefinition/obf-SourceSystem-extension"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "Condition-argoprofile.extension",
        "path" : "Condition.extension",
        "name" : "Condition-argoprofile.extension",
        "slicing" : {
          "id" : "3",
          "discriminator" : [
            "url"
          ],
          "ordered" : false,
          "rules" : "open"
        },
        "min" : 0,
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "author",
        "path" : "Condition.extension",
        "name" : "author",
        "definition" : "The actor who created the item and it responsible for the content (regardless of the information source or who recorded it). If only the author is given, it is assumed the author is the information source and the recorder.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Condition.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : [
              "http://mcodeinitiative.org/us/mcode/StructureDefinition/obf-Author-extension"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "annotation",
        "path" : "Condition.extension",
        "name" : "annotation",
        "definition" : "An added or follow-up note, often after the fact, that contains metadata about who made the statement and when.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Condition.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : [
              "http://mcodeinitiative.org/us/mcode/StructureDefinition/obf-Annotation-extension"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "dateofdiagnosis",
        "path" : "Condition.extension",
        "name" : "dateofdiagnosis",
        "definition" : "The date the disease was first clinically recognized with sufficient certainty, regardless of whether it was fully characterized at that time.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Condition.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : [
              "http://mcodeinitiative.org/us/mcode/StructureDefinition/obf-DateOfDiagnosis-extension"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : true,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "histologymorphologybehavior",
        "path" : "Condition.extension",
        "name" : "histologymorphologybehavior",
        "definition" : "A description of the morphologic and behavioral characteristics of the cancer.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Condition.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : [
              "http://mcodeinitiative.org/us/mcode/StructureDefinition/onco-core-HistologyMorphologyBehavior-extension"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : true,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "Condition-argoprofile.patient",
        "path" : "Condition.patient",
        "name" : "Condition-argoprofile.patient",
        "min" : 0,
        "type" : [
          {
            "code" : "Reference",
            "profile" : [
              "http://mcodeinitiative.org/us/mcode/StructureDefinition/obf-Patient"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "Condition-argoprofile.asserter",
        "path" : "Condition.asserter",
        "name" : "Condition-argoprofile.asserter",
        "short" : "The information comes from a practitioner who asserts the condition",
        "definition" : "The information comes from a practitioner who asserts the condition.",
        "min" : 0,
        "type" : [
          {
            "code" : "Reference",
            "profile" : [
              "http://hl7.org/fhir/StructureDefinition/Practitioner"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "Condition-argoprofile.code",
        "path" : "Condition.code",
        "name" : "Condition-argoprofile.code",
        "min" : 0,
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "binding" : {
          "strength" : "extensible",
          "valueSetReference" : {
            "reference" : "http://mcodeinitiative.org/us/mcode/ValueSet/onco-core-PrimaryOrUncertainBehaviorCancerDisorderVS"
          }
        }
      },
      {
        "id" : "Condition-argoprofile.category",
        "path" : "Condition.category",
        "name" : "Condition-argoprofile.category",
        "min" : 0,
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "Condition-argoprofile.category.coding",
        "path" : "Condition.category.coding",
        "name" : "Condition-argoprofile.category.coding",
        "slicing" : {
          "id" : "2",
          "discriminator" : [
            "code"
          ],
          "ordered" : false,
          "rules" : "open"
        },
        "min" : 1,
        "max" : "*",
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "Fixed_64572001",
        "path" : "Condition.category.coding",
        "name" : "Fixed_64572001",
        "short" : "Disease",
        "definition" : "Disease",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "Coding"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true
      },
      {
        "id" : "Condition-argoprofile.category.coding-Fixed-64572001.system",
        "path" : "Condition.category.coding.system",
        "name" : "Condition-argoprofile.category.coding-Fixed-64572001.system",
        "min" : 0,
        "fixedUri" : "http://snomed.info/sct",
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "Condition-argoprofile.category.coding-Fixed-64572001.code",
        "path" : "Condition.category.coding.code",
        "name" : "Condition-argoprofile.category.coding-Fixed-64572001.code",
        "min" : 0,
        "fixedCode" : "64572001",
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "Condition-argoprofile.severity",
        "path" : "Condition.severity",
        "name" : "Condition-argoprofile.severity",
        "min" : 0,
        "max" : "0",
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "Condition-argoprofile.onsetx",
        "path" : "Condition.onset[x]",
        "name" : "Condition-argoprofile.onsetx",
        "min" : 0,
        "type" : [
          {
            "code" : "dateTime"
          },
          {
            "code" : "Quantity",
            "profile" : [
              "http://mcodeinitiative.org/us/mcode/StructureDefinition/obf-datatype-Age"
            ]
          },
          {
            "code" : "Period"
          },
          {
            "code" : "Range"
          },
          {
            "code" : "string"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "Condition-argoprofile.abatementx",
        "path" : "Condition.abatement[x]",
        "name" : "Condition-argoprofile.abatementx",
        "min" : 0,
        "type" : [
          {
            "code" : "dateTime"
          },
          {
            "code" : "Quantity",
            "profile" : [
              "http://mcodeinitiative.org/us/mcode/StructureDefinition/obf-datatype-Age"
            ]
          },
          {
            "code" : "boolean"
          },
          {
            "code" : "Period"
          },
          {
            "code" : "Range"
          },
          {
            "code" : "string"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "Condition-argoprofile.stage",
        "path" : "Condition.stage",
        "name" : "Condition-argoprofile.stage",
        "min" : 0,
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "Condition-argoprofile.stage.extension",
        "path" : "Condition.stage.extension",
        "name" : "Condition-argoprofile.stage.extension",
        "slicing" : {
          "id" : "5",
          "discriminator" : [
            "url"
          ],
          "ordered" : false,
          "rules" : "open"
        },
        "min" : 0,
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "type",
        "path" : "Condition.stage.extension",
        "name" : "type",
        "definition" : "A code describing the item at a greater level of detail.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Condition.stage.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : [
              "http://mcodeinitiative.org/us/mcode/StructureDefinition/obf-datatype-Type-extension"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "Condition-argoprofile.stage.extension-type.valueCodeableConcept",
        "path" : "Condition.stage.extension.valueCodeableConcept",
        "name" : "Condition-argoprofile.stage.extension-type.valueCodeableConcept",
        "min" : 0,
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "binding" : {
          "strength" : "example",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/condition-stage-type"
          }
        }
      },
      {
        "id" : "Condition-argoprofile.stage.assessment",
        "path" : "Condition.stage.assessment",
        "name" : "Condition-argoprofile.stage.assessment",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "Reference",
            "profile" : [
              "http://mcodeinitiative.org/us/mcode/StructureDefinition/onco-core-CancerStageGroup"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "Condition-argoprofile.evidence",
        "path" : "Condition.evidence",
        "name" : "Condition-argoprofile.evidence",
        "min" : 0,
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "Condition-argoprofile.evidence.code",
        "path" : "Condition.evidence.code",
        "name" : "Condition-argoprofile.evidence.code",
        "min" : 0,
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "binding" : {
          "strength" : "example",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/clinical-findings"
          }
        }
      },
      {
        "id" : "Condition-argoprofile.evidence.detail",
        "path" : "Condition.evidence.detail",
        "name" : "Condition-argoprofile.evidence.detail",
        "min" : 0,
        "type" : [
          {
            "code" : "Reference",
            "profile" : [
              "http://mcodeinitiative.org/us/mcode/StructureDefinition/obf-Resource"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "Condition-argoprofile.bodySite",
        "path" : "Condition.bodySite",
        "name" : "Condition-argoprofile.bodySite",
        "min" : 0,
        "maxLength" : 0,
        "mustSupport" : true,
        "isModifier" : false,
        "isSummary" : false,
        "binding" : {
          "strength" : "preferred",
          "valueSetReference" : {
            "reference" : "http://mcodeinitiative.org/us/mcode/ValueSet/onco-core-CancerBodyLocationVS"
          }
        }
      },
      {
        "id" : "Condition-argoprofile.bodySite.extension",
        "path" : "Condition.bodySite.extension",
        "name" : "Condition-argoprofile.bodySite.extension",
        "slicing" : {
          "id" : "1",
          "discriminator" : [
            "url"
          ],
          "ordered" : false,
          "rules" : "open"
        },
        "min" : 0,
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "laterality",
        "path" : "Condition.bodySite.extension",
        "name" : "laterality",
        "definition" : "Body side of the body location, if needed to distinguish from a similar location on the other side of the body.\n\nThe laterality element is part of BodyLocation, a flexible structure that allows the location to be determined by a single code, or a code plus laterality and/or orientation. The body location can also be specified in relation to one or more body landmarks. SNOMED CT is used in all cases.\n\n* Code only: The code should include (precoordinate) laterality and/orientation to the degree necessary to completely specify the body location.\n* Code plus laterality and/or orientation: The basic code augmented by codes specifying the body side and/or anatomical orientation.\n* Relation to landmark: The location relative to a landmark is specified by:\n1. Establishing the location and type of landmark using a body site code and optional laterality/orientation, and\n2. Specifying the direction and distance from the landmark to the body location.\n\nNote that BodyLocation is a data type (a reusable structure), not a stand-alone entity. The concept is similar to how a postal address can apply to a person, location, or organization. This contrasts with FHIR's stand-alone BodySite (aka BodyStructure in r4) which 'is not ... intended for describing the type of anatomical location but rather a specific body site on a specific patient' (FHIR 3.5).",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Condition.bodySite.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : [
              "http://mcodeinitiative.org/us/mcode/StructureDefinition/obf-datatype-Laterality-extension"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "anatomicalorientation",
        "path" : "Condition.bodySite.extension",
        "name" : "anatomicalorientation",
        "definition" : "AnatomicalOrientation of the body location, if needed to distinguish from a similar location in another orientation.\nThe orientation element is part of BodyLocation, a flexible structure that allows the location to be determined by a single code, or a code plus laterality and/or orientation. The body location can also be specified in relation to one or more body landmarks. SNOMED CT is used in all cases.\n\n* Code only: The code should include (precoordinate) laterality and/orientation to the degree necessary to completely specify the body location.\n* Code plus laterality and/or orientation: The basic code augmented by codes specifying the body side and/or anatomical orientation.\n* Relation to landmark: The location relative to a landmark is specified by:\n1. Establishing the location and type of landmark using a body site code and optional laterality/orientation, and\n2. Specifying the direction and distance from the landmark to the body location.\n\nNote that BodyLocation is a data type (a reusable structure), not a stand-alone entity. The concept is similar to how a postal address can apply to a person, location, or organization. This contrasts with FHIR's stand-alone BodySite (aka BodyStructure in r4) which 'is not ... intended for describing the type of anatomical location but rather a specific body site on a specific patient' (FHIR 3.5).",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Condition.bodySite.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : [
              "http://mcodeinitiative.org/us/mcode/StructureDefinition/obf-datatype-AnatomicalOrientation-extension"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "relationtolandmark",
        "path" : "Condition.bodySite.extension",
        "name" : "relationtolandmark",
        "definition" : "The relationship between a landmark that helps determine a body location and the body location itself. The location relative to a landmark is specified by:\n* Specifying the location and type of landmark using a body site code and optional laterality/orientation,\n* Specifying the direction from the landmark to the body location, and\n* Specifying the distance from the landmark to the body location.\n\nThe RelationToLandmark element is part of BodyLocation, a flexible structure that allows the location to be determined by a single code, or a code plus laterality and/or orientation. The body location can also be specified in relation to one or more body landmarks. SNOMED CT is used in all cases.\n\n* Code only: The code should include (precoordinate) laterality and/orientation to the degree necessary to completely specify the body location.\n* Code plus laterality and/or orientation: The basic code augmented by codes specifying the body side and/or anatomical orientation.\n* Relation to landmark: The location relative to a landmark is specified by:\n1. Establishing the location and type of landmark using a body site code and optional laterality/orientation, and\n2. Specifying the direction and distance from the landmark to the body location.\n\nNote that BodyLocation is a data type (a reusable structure), not a stand-alone entity. The concept is similar to how a postal address can apply to a person, location, or organization. This contrasts with FHIR's stand-alone BodySite (aka BodyStructure in r4) which 'is not ... intended for describing the type of anatomical location but rather a specific body site on a specific patient' (FHIR 3.5).",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Condition.bodySite.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : [
              "http://mcodeinitiative.org/us/mcode/StructureDefinition/obf-datatype-RelationToLandmark-extension"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      }
    ]
  }
}