Skip to content

Commit 6f3ccaf

Browse files
committed
updating patient fixtures to have new genderAndSex maskable fields
1 parent e11d065 commit 6f3ccaf

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-0
lines changed

test/extractors/fixtures/extended-patient-bundle.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,28 @@
154154
],
155155
"url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity"
156156
},
157+
{
158+
"valueCodeableConcept": {
159+
"coding": [
160+
{
161+
"system": "urn:oid:1.2.840.114350.1.13.0.1.7.10.698084.130.657370.19999000",
162+
"code": "female"
163+
}
164+
]
165+
},
166+
"url": "http://open.epic.com/FHIR/StructureDefinition/extension/legal-sex"
167+
},
168+
{
169+
"valueCodeableConcept": {
170+
"coding": [
171+
{
172+
"system": "urn:oid:1.2.840.114350.1.13.0.1.7.10.698084.130.657370.19999000",
173+
"code": "female"
174+
}
175+
]
176+
},
177+
"url": "http://open.epic.com/FHIR/StructureDefinition/extension/sex-for-clinical-use"
178+
},
157179
{
158180
"url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex",
159181
"valueCode": "male"

test/helpers/fixtures/masked-patient-bundle.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,28 @@
104104
],
105105
"url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity"
106106
},
107+
{
108+
"valueCodeableConcept": {
109+
"extension": [
110+
{
111+
"url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
112+
"valueCode": "masked"
113+
}
114+
]
115+
},
116+
"url": "http://open.epic.com/FHIR/StructureDefinition/extension/legal-sex"
117+
},
118+
{
119+
"valueCodeableConcept": {
120+
"extension": [
121+
{
122+
"url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
123+
"valueCode": "masked"
124+
}
125+
]
126+
},
127+
"url": "http://open.epic.com/FHIR/StructureDefinition/extension/sex-for-clinical-use"
128+
},
107129
{
108130
"url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex",
109131
"_valueCode": {

0 commit comments

Comments
 (0)