Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

CDA Document

Logical Part in Transformation

FHIR Resource

Details

/ClinicalDocument/component/structuredBody/component[2]/section (title=Results)

Observation(s) Section - Results

n/a

Grouping of zero or more measurements each transformed to an observation as described below

/ClinicalDocument/component/structuredBody/component[2]/section/entry/organizer/component/observation/

Per Observation (or Observation and Observation.component)

Observation

/ClinicalDocument/component/structuredBody/component[2]/section/entry/organizer/component/ovservation/id

  • Measurement id

Observation.identifier

Observation.identifier.value is set to id@extension

Observation.identifier.system is set to “urn:oid:”+id@root

/ClinicalDocument/component/structuredBody/component[2]/section/entry/organizer/effectiveTime

  • Measurement time

Observation.effective[x]

Observation.effective

/ClinicalDocument/component/structuredBody/component[2]/section/entry/organizer/component/observation/code

  • Measurement type

Observation.code

if code is present and not “NI” a code is added to Observation.code with code = @code and display = @displayName

We try If it is possible to match the value of @codeSystem with the oid of the known code system. If this is possible , system is set to the URL of the known codeSystem. If not we set now the value of codeSystem = urnis set to “urn:oid:+ @codeSystem

/ClinicalDocument/component/structuredBody/component[2]/section/entry/organizer/component/observation/code/translation

if code is present and not “NI” a code is added to Observation.code with code = @code and display = @displayName

We try If it is possible to match the value of @codeSystem with the oid of a the known code system. If this is possible , system is set to the URL of the known codeSystem. If not we set now the value of codeSystem = urnis set to “urn:oid:+ @codeSystem

/ClinicalDocument/component/structuredBody/component[2]/section/entry/organizer/component/observation/value

  • Measured value, unit

Observation.valueQuantity

If the value of @unit is “NA” and the value of @value is a 2 decimal value, the valueQuantity.unit is set to “%” and the value is multiplied by 100 to convert it to a percent. Otherwise the values are used directly.

/ClinicalDocument/component/structuredBody/component[2]/section/entry/organizer/component/observation/methodCode

  • Measurement Method and Measured By (MethodCode)

Observation.performer

If the performer is specified as a citizen the Observation.performer is set to the Patient present in Composition.subject.

If not, we are not able to it is not possible discern between health-care professionals as performers and care giver as performer in the FHIR model. So we set Observation.performer is set to a new transient Practitioner ressource and raise an issue noting the original performer.

If a provision method specifies that the observation was entered by a different actor than the performer, we have there is no way of representing this and raise this as an issue is raised.

Observation.quality

If the provision method is listed as automatic, a coding is added to the observation quality specifying this, if not the coding specifies that it is entered manually.

/ClinicalDocument/component/structuredBody/component[2]/section/entry/organizer/component/observation/referenceRange

  • Reference Range

Observation.referenceRange

FHIR ranges are inverted to PHMR representation.

Only Observation.referenceRange.type "GAL" and "RAL" are transformed.

Other Observation.referenceRange.type are ignored as these are not supported in PHMR.

/ClinicalDocument/component/structuredBody/component/section/entry/organizer/component/observation/entryRelationship/act

Comment on observation

None

This information is currently ignored.

/ClinicalDocument/component/structuredBody/component[x]/section (title=Vital Signs)

Observation(s) Section - Vital Signs

Grouping of zero or more measurements, handled like the result section as described above

/ClinicalDocument/component/structuredBody/component[3]/section (title=Medical Equipment)

Medical Equipment Section

n/a

Grouping of one or more Device details

/ClinicalDocument/component/structuredBody/component[3]/section/entry/organizer

Per Device in use

Device

/ClinicalDocument/component/structuredBody/component[3]/section/entry/organizer/participant/participantRole/id

  • Device identifier

Device.serialNumber

set to @extension

/ClinicalDocument/component/structuredBody/component[3]/section/entry/organizer/participant/participantRole/playingDevice/code/translation

  • Device type code

Device.type

A Coding is added to Device.type with

system = "urn:oid:1.2.208.184.100.3"

code = @code

display = @displayName

/ClinicalDocument/component/structuredBody/component[3]/section/entry/organizer/participant/participantRole/playingDevice/manufacturerModelName

  • Manufacturer and Model Name

Device.manufacturer

Device.deviceName

Device.modelNumber

If the element value matches the regular expression "Manufacturer: (.*) / Model: (\\S*) (\\S*)"

the string is split in 3 and set to Device.manufacturer, Device.deviceName,and Device.modelNumber, respectively.

Otherwise Device.manufacturer is set to the entire string.

/ClinicalDocument/component/structuredBody/component[3]/section/entry/organizer/participant/participantRole/playingDevice/softwareName

  • Software Name

Device.version

External References

n/a

Not used

...