{
  "resourceType": "StructureDefinition",
  "id": "Activity",
  "url": "http://hl7.org/fhir/StructureDefinition/Activity",
  "version": "0.1",
  "name": "Activity",
  "status": "draft",
  "publisher": "Synapxe",
  "copyright": "Copyright (C) 2024 Synapxe",
  "fhirVersion": "4.3.0",
  "kind": "resource",
  "abstract": false,
  "type": "Activity",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource",
  "derivation": "specialization",
  "differential": {
    "element": [
      {
        "id": "Activity",
        "path": "Activity",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Activity",
          "min": 0,
          "max": "*"
        },
        "constraint": [
          {
            "key": "dom-2",
            "severity": "error",
            "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
            "expression": "contained.contained.empty()",
            "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
          },
          {
            "key": "dom-4",
            "severity": "error",
            "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
            "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()",
            "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
          },
          {
            "key": "dom-3",
            "severity": "error",
            "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource",
            "expression": "contained.where(((id.exists() and ('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url)))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(uri) = '#').exists()).not()).trace('unmatched', id).empty()",
            "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice",
                "valueBoolean": true
              },
              {
                "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation",
                "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."
              }
            ],
            "key": "dom-6",
            "severity": "warning",
            "human": "A resource should have narrative for robust management",
            "expression": "text.`div`.exists()",
            "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
          },
          {
            "key": "dom-5",
            "severity": "error",
            "human": "If a resource is contained in another resource, it SHALL NOT have a security label",
            "expression": "contained.meta.security.empty()",
            "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "Entity. Role, or Act"
          }
        ]
      },
      {
        "id": "Activity.application",
        "path": "Activity.application",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.application",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.category",
        "path": "Activity.category",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.category",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.type",
        "path": "Activity.type",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.type",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.code",
        "path": "Activity.code",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.frequency",
        "path": "Activity.frequency",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.frequency",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.status",
        "path": "Activity.status",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.status",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.statusHistory",
        "path": "Activity.statusHistory",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Activity.statusHistory",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.statusHistory.status",
        "path": "Activity.statusHistory.status",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.statusHistory.status",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.statusHistory.date",
        "path": "Activity.statusHistory.date",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.statusHistory.date",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.statusHistory.reason",
        "path": "Activity.statusHistory.reason",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.statusHistory.reason",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.statusHistory.remark",
        "path": "Activity.statusHistory.remark",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.statusHistory.remark",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.originalPlannedPeriod",
        "path": "Activity.originalPlannedPeriod",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.originalPlannedPeriod",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Period"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.plannedPeriod",
        "path": "Activity.plannedPeriod",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.plannedPeriod",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Period"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.actualPeriod",
        "path": "Activity.actualPeriod",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.actualPeriod",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Period"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.remark",
        "path": "Activity.remark",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.remark",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.demandId",
        "path": "Activity.demandId",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.demandId",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.plannedManday",
        "path": "Activity.plannedManday",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.plannedManday",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "decimal"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.originalPlannedTaskManday",
        "path": "Activity.originalPlannedTaskManday",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.originalPlannedTaskManday",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "decimal"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.plannedJobGrade",
        "path": "Activity.plannedJobGrade",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.plannedJobGrade",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.headCount",
        "path": "Activity.headCount",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.headCount",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "integer"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.mandayCost",
        "path": "Activity.mandayCost",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.mandayCost",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "decimal"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.aopgSpoc",
        "path": "Activity.aopgSpoc",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.aopgSpoc",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.milestone",
        "path": "Activity.milestone",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Activity.milestone",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.milestone.milestone",
        "path": "Activity.milestone.milestone",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.milestone.milestone",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.milestone.milestoneType",
        "path": "Activity.milestone.milestoneType",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.milestone.milestoneType",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.assignedResource",
        "path": "Activity.assignedResource",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Activity.assignedResource",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.assignedResource.assignmentType",
        "path": "Activity.assignedResource.assignmentType",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.assignedResource.assignmentType",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.assignedResource.userId",
        "path": "Activity.assignedResource.userId",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.assignedResource.userId",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.assignedResource.location",
        "path": "Activity.assignedResource.location",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.assignedResource.location",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.assignedResource.estimatedEffort",
        "path": "Activity.assignedResource.estimatedEffort",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.assignedResource.estimatedEffort",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "integer"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.assignedResource.effortWeightagePercentage",
        "path": "Activity.assignedResource.effortWeightagePercentage",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.assignedResource.effortWeightagePercentage",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "decimal"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.refundManday",
        "path": "Activity.refundManday",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.refundManday",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "decimal"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.refundStatus",
        "path": "Activity.refundStatus",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.refundStatus",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.refundReason",
        "path": "Activity.refundReason",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.refundReason",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.billingTrigger",
        "path": "Activity.billingTrigger",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.billingTrigger",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.billingStatus",
        "path": "Activity.billingStatus",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.billingStatus",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.requireSupportingArtefacts",
        "path": "Activity.requireSupportingArtefacts",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.requireSupportingArtefacts",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.plannedStaffLocation",
        "path": "Activity.plannedStaffLocation",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.plannedStaffLocation",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.taskExperience",
        "path": "Activity.taskExperience",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.taskExperience",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.useOfOperationManual",
        "path": "Activity.useOfOperationManual",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.useOfOperationManual",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.usingSignOffTemplate",
        "path": "Activity.usingSignOffTemplate",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.usingSignOffTemplate",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.lockStatus",
        "path": "Activity.lockStatus",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.lockStatus",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.userUamMilestone",
        "path": "Activity.userUamMilestone",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.userUamMilestone",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.serverUamMilestone",
        "path": "Activity.serverUamMilestone",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.serverUamMilestone",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.uamCycle",
        "path": "Activity.uamCycle",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.uamCycle",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.uamRemark",
        "path": "Activity.uamRemark",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.uamRemark",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.appPentestMilestone",
        "path": "Activity.appPentestMilestone",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.appPentestMilestone",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.managerReview",
        "path": "Activity.managerReview",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.managerReview",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.managerReview.rating",
        "path": "Activity.managerReview.rating",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.managerReview.rating",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.managerReview.reviewMonth",
        "path": "Activity.managerReview.reviewMonth",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.managerReview.reviewMonth",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.managerReview.reviewedBy",
        "path": "Activity.managerReview.reviewedBy",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.managerReview.reviewedBy",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.serviceLeadReview",
        "path": "Activity.serviceLeadReview",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.serviceLeadReview",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.serviceLeadReview.rating",
        "path": "Activity.serviceLeadReview.rating",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.serviceLeadReview.rating",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.serviceLeadReview.reviewMonth",
        "path": "Activity.serviceLeadReview.reviewMonth",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.serviceLeadReview.reviewMonth",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.serviceLeadReview.reviewedBy",
        "path": "Activity.serviceLeadReview.reviewedBy",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.serviceLeadReview.reviewedBy",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.aopgReviewRating",
        "path": "Activity.aopgReviewRating",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.aopgReviewRating",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.qualityReviewComment",
        "path": "Activity.qualityReviewComment",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.qualityReviewComment",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.faNameAccuracy",
        "path": "Activity.faNameAccuracy",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.faNameAccuracy",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.taskUpdate",
        "path": "Activity.taskUpdate",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.taskUpdate",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.artifact",
        "path": "Activity.artifact",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Activity.artifact",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.artifact.version",
        "path": "Activity.artifact.version",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.artifact.version",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "integer"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.artifact.rating",
        "path": "Activity.artifact.rating",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.artifact.rating",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.artifact.attachment",
        "path": "Activity.artifact.attachment",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Activity.artifact.attachment",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Attachment"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.createdBy",
        "path": "Activity.createdBy",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.createdBy",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.creationDateTime",
        "path": "Activity.creationDateTime",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.creationDateTime",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.modifiedBy",
        "path": "Activity.modifiedBy",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.modifiedBy",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.isDeleted",
        "path": "Activity.isDeleted",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.isDeleted",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.modificationDateTime",
        "path": "Activity.modificationDateTime",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.modificationDateTime",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "isModifier": false
      }
    ]
  },
  "snapshot": {
    "element": [
      {
        "id": "Activity",
        "path": "Activity",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Activity",
          "min": 0,
          "max": "*"
        },
        "constraint": [
          {
            "key": "dom-2",
            "severity": "error",
            "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
            "expression": "contained.contained.empty()",
            "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
          },
          {
            "key": "dom-4",
            "severity": "error",
            "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
            "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()",
            "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
          },
          {
            "key": "dom-3",
            "severity": "error",
            "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource",
            "expression": "contained.where(((id.exists() and ('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url)))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(uri) = '#').exists()).not()).trace('unmatched', id).empty()",
            "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice",
                "valueBoolean": true
              },
              {
                "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation",
                "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."
              }
            ],
            "key": "dom-6",
            "severity": "warning",
            "human": "A resource should have narrative for robust management",
            "expression": "text.`div`.exists()",
            "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
          },
          {
            "key": "dom-5",
            "severity": "error",
            "human": "If a resource is contained in another resource, it SHALL NOT have a security label",
            "expression": "contained.meta.security.empty()",
            "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "Entity. Role, or Act"
          }
        ]
      },
      {
        "id": "Activity.id",
        "path": "Activity.id",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Resource.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueString": "id"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.meta",
        "path": "Activity.meta",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Resource.meta",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Meta"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.implicitRules",
        "path": "Activity.implicitRules",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Resource.implicitRules",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "isModifier": true
      },
      {
        "id": "Activity.language",
        "path": "Activity.language",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Resource.language",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.text",
        "path": "Activity.text",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DomainResource.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Narrative"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.contained",
        "path": "Activity.contained",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DomainResource.contained",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Resource"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.extension",
        "path": "Activity.extension",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.modifierExtension",
        "path": "Activity.modifierExtension",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DomainResource.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": true
      },
      {
        "id": "Activity.application",
        "path": "Activity.application",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.application",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.category",
        "path": "Activity.category",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.category",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.type",
        "path": "Activity.type",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.type",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.code",
        "path": "Activity.code",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.frequency",
        "path": "Activity.frequency",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.frequency",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.status",
        "path": "Activity.status",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.status",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.statusHistory",
        "path": "Activity.statusHistory",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Activity.statusHistory",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.statusHistory.id",
        "path": "Activity.statusHistory.id",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Activity.statusHistory.extension",
        "path": "Activity.statusHistory.extension",
        "short": "Additional content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Activity.statusHistory.modifierExtension",
        "path": "Activity.statusHistory.modifierExtension",
        "short": "Extensions that cannot be ignored even if unrecognized",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Activity.statusHistory.status",
        "path": "Activity.statusHistory.status",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.statusHistory.status",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.statusHistory.date",
        "path": "Activity.statusHistory.date",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.statusHistory.date",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.statusHistory.reason",
        "path": "Activity.statusHistory.reason",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.statusHistory.reason",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.statusHistory.remark",
        "path": "Activity.statusHistory.remark",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.statusHistory.remark",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.originalPlannedPeriod",
        "path": "Activity.originalPlannedPeriod",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.originalPlannedPeriod",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Period"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.plannedPeriod",
        "path": "Activity.plannedPeriod",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.plannedPeriod",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Period"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.actualPeriod",
        "path": "Activity.actualPeriod",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.actualPeriod",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Period"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.remark",
        "path": "Activity.remark",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.remark",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.demandId",
        "path": "Activity.demandId",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.demandId",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.plannedManday",
        "path": "Activity.plannedManday",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.plannedManday",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "decimal"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.originalPlannedTaskManday",
        "path": "Activity.originalPlannedTaskManday",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.originalPlannedTaskManday",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "decimal"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.plannedJobGrade",
        "path": "Activity.plannedJobGrade",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.plannedJobGrade",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.headCount",
        "path": "Activity.headCount",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.headCount",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "integer"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.mandayCost",
        "path": "Activity.mandayCost",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.mandayCost",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "decimal"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.aopgSpoc",
        "path": "Activity.aopgSpoc",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.aopgSpoc",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.milestone",
        "path": "Activity.milestone",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Activity.milestone",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.milestone.id",
        "path": "Activity.milestone.id",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Activity.milestone.extension",
        "path": "Activity.milestone.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. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Activity.milestone.modifierExtension",
        "path": "Activity.milestone.modifierExtension",
        "short": "Extensions that cannot be ignored even if unrecognized",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Activity.milestone.milestone",
        "path": "Activity.milestone.milestone",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.milestone.milestone",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.milestone.milestoneType",
        "path": "Activity.milestone.milestoneType",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.milestone.milestoneType",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.assignedResource",
        "path": "Activity.assignedResource",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Activity.assignedResource",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.assignedResource.id",
        "path": "Activity.assignedResource.id",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Activity.assignedResource.extension",
        "path": "Activity.assignedResource.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. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Activity.assignedResource.modifierExtension",
        "path": "Activity.assignedResource.modifierExtension",
        "short": "Extensions that cannot be ignored even if unrecognized",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Activity.assignedResource.assignmentType",
        "path": "Activity.assignedResource.assignmentType",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.assignedResource.assignmentType",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.assignedResource.userId",
        "path": "Activity.assignedResource.userId",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.assignedResource.userId",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.assignedResource.location",
        "path": "Activity.assignedResource.location",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.assignedResource.location",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.assignedResource.estimatedEffort",
        "path": "Activity.assignedResource.estimatedEffort",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.assignedResource.estimatedEffort",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "integer"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.assignedResource.effortWeightagePercentage",
        "path": "Activity.assignedResource.effortWeightagePercentage",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.assignedResource.effortWeightagePercentage",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "decimal"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.refundManday",
        "path": "Activity.refundManday",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.refundManday",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "decimal"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.refundStatus",
        "path": "Activity.refundStatus",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.refundStatus",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.refundReason",
        "path": "Activity.refundReason",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.refundReason",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.billingTrigger",
        "path": "Activity.billingTrigger",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.billingTrigger",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.billingStatus",
        "path": "Activity.billingStatus",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.billingStatus",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.requireSupportingArtefacts",
        "path": "Activity.requireSupportingArtefacts",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.requireSupportingArtefacts",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.plannedStaffLocation",
        "path": "Activity.plannedStaffLocation",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.plannedStaffLocation",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.taskExperience",
        "path": "Activity.taskExperience",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.taskExperience",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.useOfOperationManual",
        "path": "Activity.useOfOperationManual",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.useOfOperationManual",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.usingSignOffTemplate",
        "path": "Activity.usingSignOffTemplate",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.usingSignOffTemplate",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.lockStatus",
        "path": "Activity.lockStatus",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.lockStatus",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.userUamMilestone",
        "path": "Activity.userUamMilestone",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.userUamMilestone",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.serverUamMilestone",
        "path": "Activity.serverUamMilestone",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.serverUamMilestone",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.uamCycle",
        "path": "Activity.uamCycle",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.uamCycle",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.uamRemark",
        "path": "Activity.uamRemark",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.uamRemark",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.appPentestMilestone",
        "path": "Activity.appPentestMilestone",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.appPentestMilestone",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.managerReview",
        "path": "Activity.managerReview",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.managerReview",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.managerReview.id",
        "path": "Activity.managerReview.id",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Activity.managerReview.extension",
        "path": "Activity.managerReview.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. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Activity.managerReview.modifierExtension",
        "path": "Activity.managerReview.modifierExtension",
        "short": "Extensions that cannot be ignored even if unrecognized",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Activity.managerReview.rating",
        "path": "Activity.managerReview.rating",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.managerReview.rating",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.managerReview.reviewMonth",
        "path": "Activity.managerReview.reviewMonth",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.managerReview.reviewMonth",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.managerReview.reviewedBy",
        "path": "Activity.managerReview.reviewedBy",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.managerReview.reviewedBy",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.serviceLeadReview",
        "path": "Activity.serviceLeadReview",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.serviceLeadReview",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.serviceLeadReview.id",
        "path": "Activity.serviceLeadReview.id",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Activity.serviceLeadReview.extension",
        "path": "Activity.serviceLeadReview.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. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Activity.serviceLeadReview.modifierExtension",
        "path": "Activity.serviceLeadReview.modifierExtension",
        "short": "Extensions that cannot be ignored even if unrecognized",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Activity.serviceLeadReview.rating",
        "path": "Activity.serviceLeadReview.rating",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.serviceLeadReview.rating",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.serviceLeadReview.reviewMonth",
        "path": "Activity.serviceLeadReview.reviewMonth",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.serviceLeadReview.reviewMonth",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.serviceLeadReview.reviewedBy",
        "path": "Activity.serviceLeadReview.reviewedBy",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.serviceLeadReview.reviewedBy",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.aopgReviewRating",
        "path": "Activity.aopgReviewRating",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.aopgReviewRating",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.qualityReviewComment",
        "path": "Activity.qualityReviewComment",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.qualityReviewComment",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.faNameAccuracy",
        "path": "Activity.faNameAccuracy",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.faNameAccuracy",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.taskUpdate",
        "path": "Activity.taskUpdate",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.taskUpdate",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.artifact",
        "path": "Activity.artifact",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Activity.artifact",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.artifact.id",
        "path": "Activity.artifact.id",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Activity.artifact.extension",
        "path": "Activity.artifact.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. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Activity.artifact.modifierExtension",
        "path": "Activity.artifact.modifierExtension",
        "short": "Extensions that cannot be ignored even if unrecognized",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Activity.artifact.version",
        "path": "Activity.artifact.version",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.artifact.version",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "integer"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.artifact.rating",
        "path": "Activity.artifact.rating",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.artifact.rating",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.artifact.attachment",
        "path": "Activity.artifact.attachment",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Activity.artifact.attachment",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Attachment"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.createdBy",
        "path": "Activity.createdBy",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.createdBy",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.creationDateTime",
        "path": "Activity.creationDateTime",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.creationDateTime",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.modifiedBy",
        "path": "Activity.modifiedBy",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.modifiedBy",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.isDeleted",
        "path": "Activity.isDeleted",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.isDeleted",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Activity.modificationDateTime",
        "path": "Activity.modificationDateTime",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Activity.modificationDateTime",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "isModifier": false
      }
    ]
  }
}