Skip to content

Commit

Permalink
Fhir composition fixes (#2673)
Browse files Browse the repository at this point in the history
* new pr new composition file

* update snapshots
  • Loading branch information
nickbristow authored Oct 4, 2024
1 parent f86e4ec commit f18687b
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -224,16 +224,12 @@
[

{
"url": "http://hl7.org/fhir/us/ecr/StructureDefinition/rr-composition",
"valueIdentifier":
"url": "http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-initiation-type-extension",
"valueCodeableConcept":
{
"use":"official",
"type":
{
{% assign codes = composition.section.code | to_array -%}
{% include 'DataType/CodeableConcept' CodeableConcept: codes.first -%}
},
"value":"{{ composition.section.id.root }}",
"text":"official",
{% assign codes = composition.section.code | to_array -%}
{% include 'DataType/CodeableConcept' CodeableConcept: codes.first -%},
},
},
{
Expand Down
2 changes: 1 addition & 1 deletion containers/fhir-converter/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ six==1.16.0
sniffio==1.2.0
starlette==0.36.3
syrupy==4.6.1
testcontainers[compose]==3.7.1
testcontainers[compose]==4.8.1
tomli==2.0.1
typing_extensions>=4.8.0
ujson==5.4.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -981,18 +981,15 @@
'extension': list([
dict({
'url': str,
'valueIdentifier': dict({
'type': dict({
'coding': list([
dict({
'code': '88085-6',
'display': 'Reportability response report Document Public health',
'system': 'http://loinc.org',
}),
]),
}),
'use': 'official',
'value': '4efa0e5c-c34c-429f-b5de-f1a13aef4a28',
'valueCodeableConcept': dict({
'coding': list([
dict({
'code': '88085-6',
'display': 'Reportability response report Document Public health',
'system': 'http://loinc.org',
}),
]),
'text': 'official',
}),
}),
dict({
Expand Down

0 comments on commit f18687b

Please sign in to comment.