John Moehrke XACML Consent Example
0.1.0 - ci-build International flag

John Moehrke XACML Consent Example, published by John Moehrke (Moehrke Research LLC). This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/JohnMoehrke/xacml-consent/ and changes regularly. See the Directory of published versions

Resource Profile: FHIRConsentXACML - Mappings

Draft as of 2026-01-27

Mappings for the fhir-consent-xacml resource profile.

Mappings to Structures in this Implementation Guide

No Mappings Found

Mappings to other Structures

No Mappings Found

Other Mappings

NameWorkflow PatternFiveWs Pattern MappingHL7 V2 MappingRIM Mappingdoco
.. Consent
Event
infrastructure.information
CON
  • Entity
  • Role
  • or Act
... id
... meta
... implicitRules
... language
... text
Act.text?
... contained
N/A
... extension
N/A
... modifierExtension
N/A
... Slices for identifier
Event.identifier
FiveWs.identifier
An implementation-specific requirement will be needed
.... identifier:XPS
Event.identifier
FiveWs.identifier
An implementation-specific requirement will be needed
..... id
n/a
..... extension
n/a
..... use
N/A
Role.code or implied by context
..... type
CX.5
Role.code or implied by context
...... id
n/a
...... extension
n/a
...... coding
  • C*E.1-8
  • C*E.10-22
  • union(.
  • ./translation)
....... id
n/a
....... extension
n/a
....... system
C*E.3
./codeSystem
....... version
C*E.7
./codeSystemVersion
....... code
C*E.1
./code
....... display
C*E.2 - but note this is not well followed
CV.displayName
....... userSelected
Sometimes implied by being first
CD.codingRationale
...... text
C*E.9. But note many systems use C*E.2 for this
./originalText[mediaType/code="text/plain"]/data
..... system
CX.4 / EI-2-4
II.root or Role.id.root
..... value
CX.1 / EI.1
II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)
..... period
CX.7 + CX.8
Role.effectiveTime or implied by context
..... assigner
  • CX.4 / (CX.4
  • CX.9
  • CX.10)
II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper
... status
Event.status
FiveWs.status
CON-11 (Consent Status – CNE using table HL70498)
... category
Event.code
FiveWs.class
CON-2 (Consent Type - CWE using table HL70496)
.... id
n/a
.... extension
n/a
.... coding
  • C*E.1-8
  • C*E.10-22
  • union(.
  • ./translation)
.... text
C*E.9. But note many systems use C*E.2 for this
./originalText[mediaType/code="text/plain"]/data
... subject
Event.subject
FiveWs.subject[x]
... date
Event.occurrence[x]
FiveWs.recorded
CON-13 (Consent Decision Date/Time – DTM)
... period
... grantor
... grantee
... manager
FiveWs.witness
... controller
... sourceAttachment
  • Potential mappings to CON-5
  • 6
  • 7
  • 8
  • 16
  • 19
  • 20-23
.... id
n/a
.... extension
n/a
.... contentType
ED.2+ED.3/RP.2+RP.3. Note conversion may be needed if old style values are being used
  • ./mediaType
  • ./charset
.... language
./language
.... data
ED.5
./data
.... url
RP.1+RP.2 - if they refer to a URL (see v2.6)
./reference/literal
.... size
N/A (needs data type R3 proposal)
.... hash
:ED/integrityCheckAlgorithm="SHA-1"]
.... title
./title/data
.... creation
N/A (needs data type R3 proposal)
.... height
  • .outboundRelationship[typeCode="COMP].target[classCode="OBS"
  • moodCode="EVN"
  • code="<CODE>"].value
.... width
  • .outboundRelationship[typeCode="COMP].target[classCode="OBS"
  • moodCode="EVN"
  • code="<CODE>"].value
.... frames
  • .outboundRelationship[typeCode="COMP].target[classCode="OBS"
  • moodCode="EVN"
  • code="<CODE>"].value
.... duration
  • .outboundRelationship[typeCode="COMP].target[classCode="OBS"
  • moodCode="EVN"
  • code="<CODE>"].value
.... pages
... sourceReference
  • Potential mappings to CON-5
  • 6
  • 7
  • 8
  • 16
  • 19
  • 20-23
... regulatoryBasis
An implementation-specific requirement will be needed
... policyBasis
.... id
n/a
.... extension
n/a
.... modifierExtension
N/A
.... reference
.... uri
... policyText
... verification
.... id
n/a
.... extension
n/a
.... modifierExtension
N/A
.... verified
.... verificationType
.... verifiedBy
.... verifiedWith
.... verificationDate
... decision
... provisionReference
... provision

doco Documentation for this format