{
  "resourceType": "StructureDefinition",
  "id": "FirmwareReplaced",
  "url": "http://simplifier.net/fhir/StructureDefinition/FirmwareReplaced",
  "version": "1.0.0",
  "name": "FirmwareReplaced",
  "title": "Firmware Replaced",
  "status": "draft",
  "date": "2024-11-19",
  "description": "A profile for firmware replacement activities using FHIR R5.",
  "fhirVersion": "5.0.0",
  "kind": "resource",
  "abstract": false,
  "type": "Bundle",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Bundle",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Bundle.identifier",
        "path": "Bundle.identifier",
        "min": 1,
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "short": "An identifier for the Bundle"
      },
      {
        "id": "Bundle.identifier.type",
        "path": "Bundle.identifier.type",
        "min": 1,
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "fixedCodeableConcept": {
          "text": "Firmware Replaced"
        }
      },
      {
        "id": "Bundle.type",
        "path": "Bundle.type",
        "min": 1,
        "fixedCode": "collection",
        "short": "Must be of type 'collection'"
      },
      {
        "id": "Bundle.entry",
        "path": "Bundle.entry",
        "min": 1,
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "short": "Entries in the bundle"
      },
      {
        "id": "Bundle.entry.fullUrl",
        "path": "Bundle.entry.fullUrl",
        "min": 1,
        "type": [
          {
            "code": "uri"
          }
        ],
        "short": "Full URL for the entry"
      },
      {
        "id": "Bundle.entry.resource",
        "path": "Bundle.entry.resource",
        "min": 1,
        "type": [
          {
            "code": "Resource"
          }
        ]
      },
      {
        "id": "Bundle.entry.resource.Procedure",
        "path": "Bundle.entry.resource",
        "type": [
          {
            "code": "Procedure"
          }
        ]
      },
      {
        "id": "Bundle.entry.resource.Procedure.subject",
        "path": "Bundle.entry.resource.Procedure.subject",
        "min": 1,
        "type": [
          {
            "code": "Reference"
          }
        ]
      },
      {
        "id": "Bundle.entry.resource.Procedure.status",
        "path": "Bundle.entry.resource.Procedure.status",
        "min": 1,
        "fixedCode": "completed"
      },
      {
        "id": "Bundle.entry.resource.Procedure.outcome",
        "path": "Bundle.entry.resource.Procedure.outcome",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "Bundle.entry.resource.Device",
        "path": "Bundle.entry.resource",
        "type": [
          {
            "code": "Device"
          }
        ]
      },
      {
        "id": "Bundle.entry.resource.Device.manufacturer",
        "path": "Bundle.entry.resource.Device.manufacturer",
        "min": 1,
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Bundle.entry.resource.Device.serialNumber",
        "path": "Bundle.entry.resource.Device.serialNumber",
        "min": 1,
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Bundle.entry.resource.Device.version",
        "path": "Bundle.entry.resource.Device.version",
        "min": 1,
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "Bundle.entry.resource.Device.version.type",
        "path": "Bundle.entry.resource.Device.version.type",
        "min": 1,
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "Bundle.entry.resource.Device.version.value",
        "path": "Bundle.entry.resource.Device.version.value",
        "min": 1,
        "type": [
          {
            "code": "string"
          }
        ]
      }
    ]
  }
}