### ----------------------------------------------------
### -- FHIR
### -- Licenses: Artistic-2.0
### -- Authors: Hugh Simpson
### -- File: t/resources/structureDefinition/Media.json
### ----------------------------------------------------
### -- Chunk 6 of 7
" : true,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Event.occurrence[x]"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.done[x]"
      },
      {
        "identity" : "rim",
        "map" : ".effectiveTime"
      }]
    },
    {
      "id" : "Media.issued",
      "path" : "Media.issued",
      "short" : "Date/Time this version was made available",
      "definition" : "The date and time this version of the media was made available to providers, typically after having been reviewed.",
      "comment" : "It may be the same as the [`lastUpdated` ](resource-definitions.html#Meta.lastUpdated) time of the resource itself.  For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that does not require the new version to be reviewed and verified again.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Media.issued",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "instant"
      }],
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.recorded"
      },
      {
        "identity" : "v2",
        "map" : "OBR.22 (or MSH.7), or perhaps OBX-19 (depends on who observation made)"
      },
      {
        "identity" : "rim",
        "map" : "participation[typeCode=AUT].time"
      }]
    },
    {
      "id" : "Media.operator",
      "path" : "Media.operator",
      "short" : "The person who generated the image",
      "definition" : "The person who administered the collection of the image.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Media.operator",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Practitioner",
        "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
        "http://hl7.org/fhir/StructureDefinition/Organization",
        "http://hl7.org/fhir/StructureDefinition/CareTeam",
        "http://hl7.org/fhir/StructureDefinition/Patient",
        "http://hl7.org/fhir/StructureDefinition/Device",
        "http://hl7.org/fhir/StructureDefinition/RelatedPerson"]
      }],
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Event.performer.actor"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.actor"
      },
      {
        "identity" : "rim",
        "map" : ".participation[typeCode=\"PERF\"]???"
      },
      {
        "identity" : "dicom",
        "map" : "0008,1060?"
      }]
    },
    {
      "id" : "Media.reasonCode",
      "path" : "Media.reasonCode",
      "short" : "Why was event performed?",
      "definition" : "Describes why the event occurred in coded or textual form.",
      "comment" : "Textual reasons can be captured using reasonCode.text.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Media.reasonCode",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "MediaReason"
        }],
        "strength" : "example",
        "description" : "The reason for the media.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/procedure-reason"
      },
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Event.reasonCode"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.why[x]"
      },
      {
        "identity" : "rim",
        "map" : ".reasonCode"
      }]
    },
    {
      "id" : "Media.bodySite",
      "path" : "Media.bodySite",
      "short" : "Observed body part",
      "definition" : "Indicates the site on the subject's body where the observation was made (i.e. the target site).",
      "comment" : "Only used if not implicit in code found in Observation.code.  In many systems, this may be represented as a related observation instead of an inline component.   \n\nIf the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use the standard extension[ bodySite](extension-bodysite.html).",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Media.bodySite",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "BodySite"
        }],
        "strength" : "example",
        "description" : "Codes describing anatomical locations. May include laterality.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/body-site"
      },
      "mapping" : [{
        "identity" : "sct-concept",
        "map" : "< 123037004 |Body structure|"
      },
      {
        "identity" : "rim",
        "map" : "targetSiteCode"
      },
      {
        "identity" : "sct-attr",
        "map" : "718497002 |Inherent location|"
      }]
    },
    {
      "id" : "Media.deviceName",
      "path" : "Media.deviceName",
      "short" : "Name of the device/manufacturer",
      "definition" : "The name of the device / manufacturer of the device  that was used to make the recording.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Media.deviceName",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : ".participation[typeCode=\"DEV\"].role.player.Entity[classCode=\"DEV\"].name"
      },
      {
        "identity" : "dicom",
        "map" : "0008,0070"
      }]
    },
    {
      "id" : "Media.device",
      "path" : "Media.device",
      "short" : "Observing Device",
      "definition" : "The device used to collect the media.",
      "comment" : "An extension should be used if further typing of the device is needed.  Secondary devices used to support collecting a media can be represented using either extension or through the Observation.related element.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Media.device",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Device",
        "http://hl7.org/fhir/StructureDefinition/DeviceMetric",
        "http://hl7.org/fhir/StructureDefinition/Device"]
      }],
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "sct-concept",
        "map" : "< 49062001 |Device|"
      },
      {
        "identity" : "rim",
        "map" : "participation[typeCode=DEV]"
      },
      {
        "identity" : "sct-attr",
        "map" : "424226004 |Using device|"
      }]
    },
    {
      "id" : "Media.height",
      "path" : "Media.height",
      "short" : "Height of the image in pixels (photo/video)",
      "definition" : "Height of the image in pixels (photo/video).",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Media.height",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "positiveInt"
      }],
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : ".outboundRelationship[typeCode=\"COMP].target[classCode=\"OBS\", moodCode=\"EVN\",code=\"<CODE>\"].value"
      },
      {
        "identity" : "dicom",
        "map" : "0028,0010"
      }]
    },
    {
      "id" : "Media.width",
      "path" : "Media.width",
      "short" : "Width of the image in pixels (photo/video)",
      "definition" : "Width of the image in pixels (photo/video).",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Media.width",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "positiveInt"
      }],
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : ".outboundRelationship[typeCode=\"COMP].target[classCode=\"OBS\", moodCode=\"EVN\",code=\"<CODE>\"].value"
      },
      {
        "identity" : "dicom",
        "map" : "0028,0011"
      }]
    },
    {
      "id" : "Media.frames",
      "path" : "Media.frames",
      "short" : "Number of frames if > 1 (photo)",
      "definition" : "The number of frames in a photo. This is used with a multi-page fax, or an imaging acquisition context that takes multiple slices in a single image, or an animated gif. If there is more than one frame, this SHALL have a value in order to alert interface software that a multi-frame capable rendering widget is required.",
      "comment" : "if the number of frames is not supplied, the value may be unknown. Applications should not assume that there is only one frame unless it is explicitly stated.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Media.frames",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "positiveInt"
      }],
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : ".outboundRelationship[typeCode=\"COMP].target[classCode=\"OBS\", moodCode=\"EVN\",code=\"<CODE>\"].value"
      }]
    },
    {
      "id" : "Media.duration",
      "path" : "Media.duration",
      "short" : "Length in seconds (audio / video)",
      "definition" : "The duration of the recording in seconds - for audio and video.",
      "comment" : "The duration might differ from occurrencePeriod if recording was paused.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Media.duration",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "decimal"
      }],
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : ".outboundRelationship[typeCode=\"COMP].target[classCode=\"OBS\", moodCode=\"EVN\",code=\"<CODE>\"].value"
      },
      {
        "identity" : "dicom",
        "map" : "~0028,0002"
      }]
    },
    {
      "id" : "Media.content",
      "path" : "Media.content",
      "short" : "Actual Media - reference or data",
      "definition" : "The actual content of the media - inline or by direct reference to the media source file.",
      "comment" : "Recommended content types: image/jpeg, image/png, image/tiff, video/mpeg, audio/mp4, application/dicom. Application/dicom can contain the transfer syntax as a parameter.  For media that covers a period of time (video/sound), the content.creationTime is the end time. Creation time is used for tracking, organizing versions and searching.",
      "min" : 1,
      "max" : "1",
      "base" : {
        "path" : "Media.content",
        "min" : 1,
        "max" : "1"
      },
      "type" : [{
        "code" : "Attachment"
      }],
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : ".text"
      }]
    },
    {
      "id" : "Media.note",
      "path" : "Media.note",
      "short" : "Comments made about the media",
      "definition" : "Comments made about the media by the performer, subject or other participants.",
      "comment" : "Not to be used for observations, conclusions, etc. Instead use an [Observation](observation.html) based on the Media/ImagingStudy resource.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Media.note",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Annotation"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Event.note"
      },
      {
        "identity" : "v2",
        "map" : "NTE"
      },
      {
        "identity" : "rim",
        "map" : ".inboundRelationship(typeCode=SUBJ].source[classCode=ANNGEN, moodCode=EVN].value[xsi:type=ST]"
      }]
    }]
  },
  "differential" : {
    "element" : [{
      "id" : "Media",
      "path" : "Media",
      "short" : "A photo, video, or audio recording acquired or used in healthcare. The actual content may be inline or provided by direct reference",
      "definition" : "A photo, video, or audio recording acquired or used in healthcare. The actual content may be inline or provided by direct reference.",
      "min" : 0,
      "max" : "*",
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Event"
      },
      {
        "identity" : "rim",
        "map" : "Act[classCode=\"DGIMG\", moodCode=\"EVN\"]"
      }]
    },
    {
      "id" : "Media.identifier",
      "path" : "Media.identifier",
      "short" : "Identifier(s) for the image",
      "definition" : "Identifiers associated with the image - these may include identifiers for the image itself, identifiers for the context of its collection (e.g. series ids) and context ids such as accession numbers or other workflow identifiers.",
      "comment" : "The identifier label and use can be used to determine what kind of identifier it is.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Identifier"
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Event.identifier"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.identifier"
      },
      {
        "identity" : "rim",
        "map" : ".id"
      },
      {
        "identity" : "dicom",
        "map" : "0008,0018 | ~0008,0050 | 0020,000D | 0020,000E"
      }]
    },
    {
      "id" : "Media.basedOn",
      "path" : "Media.basedOn",
      "short" : "Procedure that caused this media to be created",
      "definition" : "A procedure that is fulfilled in whole or in part by the creation of this media.",
      "requirements" : "Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.",
      "alias" : ["fulfills"],
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/ServiceRequest",
        "http://hl7.org/fhir/StructureDefinition/CarePlan"]
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Event.basedOn"
      },
      {
        "identity" : "rim",
        "map" : ".outboundRelationship[typeCode=FLFS].target"
      }]
    },
    {
      "id" : "Media.partOf",
      "path" : "Media.partOf",
      "short" : "Part of referenced event",
      "definition" : "A larger event of which this particular event is a component or step.",
      "comment" : "Not to be used to link an event to an Encounter - use Media.encounter for that.\r\r[The allowed reference resources may be adjusted as appropriate for the event resource].",
      "requirements" : "E.g. Drug administration as part of a procedure, procedure as part of observation, etc.",
      "alias" : ["container"],
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Resource"]
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Event.partOf"
      },
      {
        "identity" : "rim",
        "map" : ".inboundRelationship[typeCode=COMP].source[moodCode=EVN]"
      }]
    },
    {
      "id" : "Media.status",
      "path" : "Media.status",
      "short" : "preparation | in-progress | not-done | suspended | aborted | completed | entered-in-error | unknown",
      "definition" : "The current state of the {{title}}.",
      "comment" : "A nominal state-transition diagram can be found in the [[event.html#statemachine | Event pattern]] documentation\r\rUnknown does not represent \"other\" - one of the defined statuses must apply.  Unknown is used when the authoring system is not sure what the current status is.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "code"
      }],
      "isModifier" : true,
      "isModifierReason" : "This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid",
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "MediaStatus"
        }],
        "strength" : "required",
        "description" : "Codes identifying the lifecycle stage of an event.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/event-status|4.0.0"
      },
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Event.status"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.status"
      },
      {
        "identity" : "v2",
        "map" : "Varies by domain"
      },
      {
        "identity" : "rim",
        "map" : ".status"
      }]
    },
    {
      "id" : "Media.type",
      "path" : "Media.type",
      "short" : "Classification of media as image, video, or audio",
      "definition" : "A code that classifies whether the media is an image, video or audio recording or some other media category.",
      "requirements" : "Used for filtering what observations are retrieved and displayed.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "MediaType"
        }],
        "strength" : "extensible",
        "description" : "Codes for high level media categories.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/media-type"
      },
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.class"
      },
      {
        "identity" : "rim",
        "map" : ".code"
      }]
    },
    {
      "id" : "Media.modality",
      "path" : "Media.modality",
      "short" : "The type of acquisition equipment/process",
      "definition" : "Details of the type of the media - usually, how it was acquired (what type of device). If images sourced from a DICOM system, are wrapped in a Media resource, then this is the modality.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "MediaModality"
        }],
        "strength" : "example",
        "description" : "Detailed information about the type of the image - its kind, purpose, or the kind of equipment used to generate it.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/media-modality"
      },
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Event.code"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.what[x]"
      },
      {
        "identity" : "rim",
        "map" : ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code"
      },
      {
        "identity" : "dicom",
        "map" : "0008,0060 | 0008,1032"
      }]
    },
    {
      "id" : "Media.view",
      "path" : "Media.view",
      "short" : "Imaging view, e.g. Lateral or Antero-posterior",
      "definition" : "The name of the imaging view e.g. Lateral or Antero-posterior (AP).",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "MediaView"
        }],
        "strength" : "example",
        "description" : "Imaging view (projection) used when collecting an image.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/media-view"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : "DiagnosticImage.subjectOrientationCode"
      }]
    },
    {
      "id" : "Media.subject",
      "path" : "Media.subject",
      "short" : "Who/What this Media is a record of",
      "definition" : "Who/What this Media is a record of.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Patient",
        "http://hl7.org/fhir/StructureDefinition/Practitioner",
        "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
        "http://hl7.org/fhir/StructureDefinition/Group",
        "http://hl7.org/fhir/StructureDefinition/Device",
        "http://hl7.org/fhir/StructureDefinition/Specimen",
        "http://hl7.org/fhir/StructureDefinition/Location"]
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Event.subject"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.subject[x]"
      },
      {
        "identity" : "rim",
        "map" : ".participation[typeCode=\"SUBJ\"]???"
      },
      {
        "identity" : "dicom",
        "map" : "~0010,0020"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.subject"
      }]
    },
    {
      "id" : "Media.encounter",
      "path" : "Media.encounter",
      "short" : "Encounter associated with media",
      "definition" : "The encounter that establishes the context for this media.",
      "comment" : "This will typically be the encounter the media occurred within.",
      "requirements" : "Links the Media to the Encounter context.",
      "alias" : ["context"],
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Encounter"]
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Event.encounter"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.context"
      },
      {
        "identity" : "rim",
        "map" : ".inboundRelationship(typeCode=COMP].source[classCode<=PCPR, moodCode=EVN]"
      }]
    },
    {
      "id" : "Media.created[x]",
      "path" : "Media.created[x]",
      "short" : "When Media was collected",
      "definition" : "The date and time(s) at which the media was collected.",
      "alias" : ["timing"],
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "dateTime"
      },
      {
        "code" : "Period"
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Event.occurrence[x]"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.done[x]"
      },
      {
        "identity" : "rim",
        "map" : ".effectiveTime"
      }]
    },
    {
      "id" : "Media.issued",
      "path" : "Media.issued",
      "short" : "Date/Time this version was made available",
      "definition" : "The date and time this version of the media was made available to providers, typically after having been reviewed.",
      "comment" : "It may be the same as the [`lastUpdated` ](resource-definitions.html#Meta.lastUpdated) time of the resource itself.  For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that does not require the new version to be reviewed and verified again.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "instant"
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.recorded"
      },
      {
        "identity" : "v2",
        "map" : "OBR.22 (or MSH.7), or perhaps OBX-19 (depends on who observation made)"
      },
      {
        "identity" : "rim",
        "map" : "participation[typeCode=AUT].time"
      }]
    },
    {
      "id" : "Media.operator",
      "path" : "Media.operator",
      "short" : "The person who generated the image",
      "definition" : "The person who administered the collection of the image.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Practitioner",
        "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
        "http://hl7.org/fhir/StructureDefinition/Organization",
        "http://hl7.org/fhir/StructureDefinition/CareTeam",
        "http://hl7.org/fhir/StructureDefinition/Patient",
        "http://hl7.org/fhir/StructureDefinition/Device",
        "http://hl7.org/fhir/StructureDefinition/RelatedPerson"]
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Event.performer.actor"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.actor"
      },
      {
        "identity" : "rim",
        "map" : ".participation[typeCode=\"PERF\"]???"
      },
      {
        "identity" : "dicom",
        "map" : "0008,1060?"
      }]
    },
    {
      "id" : "Media.reasonCode",
      "path" : "Media.reasonCode",
      "short" : "Why was event performed?",
      "definition" : "Describes why the event occurred in coded or textual form.",
      "comment" : "Textual reasons can be captured using reasonCode.text.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "MediaReason"
        }],
        "strength" : "example",
        "description" : "The reason for the media.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/procedure-reason"
      },
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Event.reasonCode"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.why[x]"
      },
      {
        "identity" : "rim",
        "map" : ".reasonCode"
      }]
    },
    {
      "id" : "Media.bodySite",
      "path" : "Media.bodySite",
      "short" : "Observed body part",
      "definition" : "Indicates the site on the subject's body where the observation was made (i.e. the target site).",
      "comment" : "Only used if not implicit in code found in Observation.code.  In many systems, this may be represented as a related observation instead of an inline component.   \n\nIf the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use the standard extension[ bodySite](extension-bodysite.html).",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "BodySite"
        }],
        "strength" : "example",
        "description" : "Codes describing anatomical locations. May include laterality.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/body-site"
      },
      "mapping" : [{
        "identity" : "sct-concept",
        "map" : "< 123037004 |Body structure|"
      },
      {
        "identity" : "rim",
        "map" : "targetSiteCode"
      },
      {
        "identity" : "sct-attr",
        "map" : "718497002 |Inherent location|"
      }]
    },
    {
      "id" : "Media.deviceName",
      "path" : "Media.deviceName",
      "short" : "Name of the device/manufacturer",
      "definition" : "The name of the device / manufacturer of the device  that was used to make the recording.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "string"
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : ".participation[typeCode=\"DEV\"].role.player.Entity[classCode=\"DEV\"].name"
      },
      {
        "identity" : "dicom",
        "map" : "0008,0070"
      }]
    },
    {
      "id" : "Media.device",
      "path" : "Media.device",
      "short" : "Observing Device",
      "definition" : "The device used to collect the media.",
      "comment" : "An extension should be used if further typing of the device is needed.  Secondary devices used to support collecting a media can be represented using either extension or through the Observation.related element.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Device",
        "http://hl7.org/fhir/StructureDefinition/DeviceMetric",
        "http://hl7.org/fhir/StructureDefinition/Device"]
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "sct-concept",
        "map" : "< 49062001 |Device|"
      },
      {
        "identity" : "rim",
        "map" : "participation[typeCode=DEV]"
      },
      {
        "identity" : "sct-attr",
        "map" : "