R4 Ballot #2 (Mixed Normative/Trial use)

This page is part of the FHIR Specification (v3.5.0: R4 Ballot #2). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4

Biomedical Research and Regulation Work GroupMaturity Level: N/ABallot Status: Informative Compartments: Practitioner

R3 : R4 Conversion maps for ResearchStudy.

Functional status for this map: 1 test of which 1 fail to execute. (see documentation)

map "http://hl7.org/fhir/StructureMap/ResearchStudy3to4" = "R3 to R4 Conversions for ResearchStudy"


uses "http://hl7.org/fhir/3.0/StructureDefinition/ResearchStudy" alias ResearchStudyR3 as source
uses "http://hl7.org/fhir/StructureDefinition/ResearchStudy" alias ResearchStudy as target

imports "http://hl7.org/fhir/StructureMap/*3to4"



group ResearchStudy extends DomainResource
  input src : ResearchStudyR3 as source
  input tgt : ResearchStudy as target

  "ResearchStudy.identifier": for src.identifier make tgt.identifier
  "ResearchStudy.title": for src.title make tgt.title
  "ResearchStudy.protocol": for src.protocol make tgt.protocol
  "ResearchStudy.partOf": for src.partOf make tgt.partOf
  "ResearchStudy.status": for src.status make tgt.status
  "ResearchStudy.primaryPurposeType": for src.primaryPurposeType make tgt.primaryPurposeType
  "ResearchStudy.phase": for src.phase make tgt.phase
  "ResearchStudy.category": for src.category make tgt.category
  "ResearchStudy.focus": for src.focus make tgt.focus
  "ResearchStudy.condition": for src.condition make tgt.condition
  "ResearchStudy.contact": for src.contact make tgt.contact
  "ResearchStudy.relatedArtifact": for src.relatedArtifact make tgt.relatedArtifact
  "ResearchStudy.keyword": for src.keyword make tgt.keyword
  "ResearchStudy.location": for src.location make tgt.location
  "ResearchStudy.description": for src.description make tgt.description
  "ResearchStudy.enrollment": for src.enrollment make tgt.enrollment
  "ResearchStudy.period": for src.period make tgt.period
  "ResearchStudy.sponsor": for src.sponsor make tgt.sponsor
  "ResearchStudy.principalInvestigator": for src.principalInvestigator make tgt.principalInvestigator
  "ResearchStudy.site": for src.site make tgt.site
  "ResearchStudy.reasonStopped": for src.reasonStopped make tgt.reasonStopped
  "ResearchStudy.note": for src.note make tgt.note
  "ResearchStudy.arm": for src.arm as s make tgt.arm as t then ResearchStudyArm(s,t)
  "ResearchStudy.objective": for src.objective as s make tgt.objective as t then ResearchStudyObjective(s,t)
endgroup


group ResearchStudyArm extends BackboneElement
  input src : ResearchStudyR3 as source
  input tgt : ResearchStudy as target

  "ResearchStudy.arm.name": for src.name make tgt.name
  "ResearchStudy.arm.type": for src.type make tgt.type
  "ResearchStudy.arm.description": for src.description make tgt.description
endgroup


group ResearchStudyObjective extends BackboneElement
  input src : ResearchStudyR3 as source
  input tgt : ResearchStudy as target

  "ResearchStudy.objective.name": for src.name make tgt.name
  "ResearchStudy.objective.type": for src.type make tgt.type
endgroup


map "http://hl7.org/fhir/StructureMap/ResearchStudy4to3" = "R4 to R3 Conversion for ResearchStudy"


uses "http://hl7.org/fhir/StructureDefinition/ResearchStudy" alias ResearchStudy as source
uses "http://hl7.org/fhir/3.0/StructureDefinition/ResearchStudy" alias ResearchStudyR3 as target

imports "http://hl7.org/fhir/StructureMap/*4to3"



group ResearchStudy extends DomainResource
  input src : ResearchStudyR3 as source
  input tgt : ResearchStudy as target

  "ResearchStudy.identifier": for src.identifier make tgt.identifier
  "ResearchStudy.title": for src.title make tgt.title
  "ResearchStudy.protocol": for src.protocol make tgt.protocol
  "ResearchStudy.partOf": for src.partOf make tgt.partOf
  "ResearchStudy.status": for src.status make tgt.status
  "ResearchStudy.primaryPurposeType": for src.primaryPurposeType make tgt.primaryPurposeType
  "ResearchStudy.phase": for src.phase make tgt.phase
  "ResearchStudy.category": for src.category make tgt.category
  "ResearchStudy.focus": for src.focus make tgt.focus
  "ResearchStudy.condition": for src.condition make tgt.condition
  "ResearchStudy.contact": for src.contact make tgt.contact
  "ResearchStudy.relatedArtifact": for src.relatedArtifact make tgt.relatedArtifact
  "ResearchStudy.keyword": for src.keyword make tgt.keyword
  "ResearchStudy.location": for src.location make tgt.location
  "ResearchStudy.description": for src.description make tgt.description
  "ResearchStudy.enrollment": for src.enrollment make tgt.enrollment
  "ResearchStudy.period": for src.period make tgt.period
  "ResearchStudy.sponsor": for src.sponsor make tgt.sponsor
  "ResearchStudy.principalInvestigator": for src.principalInvestigator make tgt.principalInvestigator
  "ResearchStudy.site": for src.site make tgt.site
  "ResearchStudy.reasonStopped": for src.reasonStopped make tgt.reasonStopped
  "ResearchStudy.note": for src.note make tgt.note
  "ResearchStudy.arm": for src.arm as s make tgt.arm as t then ResearchStudyArm(s,t)
  "ResearchStudy.objective": for src.objective as s make tgt.objective as t then ResearchStudyObjective(s,t)
endgroup

group ResearchStudyArm extends BackboneElement
  input src : ResearchStudyR3 as source
  input tgt : ResearchStudy as target

  "ResearchStudy.arm.name": for src.name make tgt.name
  "ResearchStudy.arm.type": for src.type make tgt.type
  "ResearchStudy.arm.description": for src.description make tgt.description
endgroup

group ResearchStudyObjective extends BackboneElement
  input src : ResearchStudyR3 as source
  input tgt : ResearchStudy as target

  "ResearchStudy.objective.name": for src.name make tgt.name
  "ResearchStudy.objective.type": for src.type make tgt.type
endgroup