Skip to content

Commit

Permalink
EPA-20: Working metadata for ePA with no authorSpeciality
Browse files Browse the repository at this point in the history
  • Loading branch information
annadurrer-oviva committed Jun 4, 2024
1 parent d108f53 commit e02ac78
Showing 1 changed file with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -212,18 +212,19 @@ private Document buildDocumentPayload(
new DocumentMetadata(
List.of(
new Author(
authorInstitution.identifier(),
null,
"Oviva Direkt for Obesity",
"Oviva",
"",
"",
"AG",
"",
// Der identifier in AuthorInstitution muss eine gültige TelematikId sein, so
// wie sie z. B. auf der SMC-B-Karte enthalten ist
List.of(authorInstitution),
List.of("12^^^&1.3.6.1.4.1.19376.3.276.1.5.13&ISO"),
List.of("Diätassistent (25)"),
List.of("telematik-infrastructure@oviva.com"))),
// List.of("25^^^&1.2.276.0.76.5.114&ISO"),
List.of(),
List.of("^^Internet^telematik-infrastructure@oviva.com"))),
"AVAILABLE",
List.of(ConfidentialityCode.NORMAL.getValue()),
ClassCode.DURCHFUEHRUNGSPROTOKOLL.getValue(),
Expand All @@ -244,7 +245,7 @@ private Document buildDocumentPayload(
null,
contents.length,
"ePA Export Oviva Direkt for Obesity" + LocalDateTime.now(),
TypeCode.THERAPIEDOKUMENTATION.getValue(),
TypeCode.PATIENTENEIGENE_DOKUMENTE.getValue(),
documentUuid,
"monitoring.xml",
repositoryUniqueId,
Expand Down

0 comments on commit e02ac78

Please sign in to comment.