StructureMap-OperationOutcome5to4

Sourcehl7.fhir.uv.extensions.r4#1.0.0:FHIR Extensions Pack (v4.0.1)
resourceTypeStructureMap
idOperationOutcome5to4
canonicalhttp://hl7.org/fhir/StructureMap/OperationOutcome5to4
version1.0.0
statusactive
publisherHL7 International / FHIR Infrastructure
nameOperationOutcome5to4
titleFML Conversion for OperationOutcome: R5 to R4
date2023-03-26T08:47:34+11:00
descriptionFMLConversionforOperationOutcomeR5toR4
jurisdictionsuv
Usages(none)

    
/// url = 
    
    'http://hl7.org/fhir/StructureMap/OperationOutcome5to4'

    
/// name = 
    
    'OperationOutcome5to4'

    
/// title = 
    
    'FML Conversion for OperationOutcome: R5 to R4'

    
/// status = 
    
    'active'


    conceptmap
     "
IssueSeverity    " {

      prefix 
s     = "
    http://hl7.org/fhir/issue-severity
    "

      prefix 
t     = "
http://hl7.org/fhir/4.0/issue-severity    "


  s    :
fatal     -
 t    :
fatal
  s    :
error     -
 t    :
error
  s    :
warning     -
 t    :
warning
  s    :
information     -
 t    :
information
    }


    conceptmap
     "
IssueType    " {

      prefix 
s     = "
    http://hl7.org/fhir/issue-type
    "

      prefix 
t     = "
http://hl7.org/fhir/4.0/issue-type    "


  s    :
invalid     -
 t    :
invalid
  s    :
structure     -
 t    :
structure
  s    :
required     -
 t    :
required
  s    :
value     -
 t    :
value
  s    :
invariant     -
 t    :
invariant
  s    :
security     -
 t    :
security
  s    :
login     -
 t    :
login
  s    :
unknown     -
 t    :
unknown
  s    :
expired     -
 t    :
expired
  s    :
forbidden     -
 t    :
forbidden
  s    :
suppressed     -
 t    :
suppressed
  s    :
processing     -
 t    :
processing
  s    :
"not-supported"     -
 t    :
    "
not-supported    "

  s    :
duplicate     -
 t    :
duplicate
  s    :
"multiple-matches"     -
 t    :
    "
multiple-matches    "

  s    :
"not-found"     -
 t    :
    "
not-found    "

  s    :
deleted     -
 t    :
deleted
  s    :
"too-long"     -
 t    :
    "
too-long    "

  s    :
"code-invalid"     -
 t    :
    "
code-invalid    "

    }


    uses
     "
    http://hl7.org/fhir/StructureDefinition/OperationOutcome
    " 
    alias 
OperationOutcomeR5     as 
    source

    uses
     "
http://hl7.org/fhir/4.0/StructureDefinition/OperationOutcome    " 
    alias 
OperationOutcomeR4     as 
    target


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


    group 
OperationOutcome    (
    source
     src
     : 
OperationOutcomeR5,     target
     tgt
     : 
OperationOutcomeR4    )
     extends 
DomainResource     <<type+>>
     {

  src.issue     as 
    s
    
 ->     
tgt.issue     as 
    t
     then 
OperationOutcomeIssue    (
    s
    , 
    t
    )
    ;

    }


    group 
OperationOutcomeIssue    (
    source
     src
,     target
     tgt
    )
     extends 
BackboneElement     {

  src.severity     as 
    v
    
 ->     
tgt.severity =     translate
    (
    v
    , 
    '#IssueSeverity'
    , 
    'code'
    )
    ;

  src.code     as 
    v
    
 ->     
tgt.code =     translate
    (
    v
    , 
    '#IssueType'
    , 
    'code'
    )
    ;

  src.details    
 ->     
tgt.details    ;

  src.diagnostics    
 ->     
tgt.diagnostics    ;

  src.location    
 ->     
tgt.location    ;

  src.expression    
 ->     
tgt.expression    ;

    }


  

Produced 06 Apr 2023