Skip to content

Commit 3980420

Browse files
authored
Fix conditional create sample parameter
1 parent 08e0b15 commit 3980420

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ SELECT fhir_create_resource('{"resource": {"resourceType": "Patient", "name": [{
171171
SELECT fhir_create_resource('{"allowId": true, "resource": {"resourceType": "Patient", "id": "smith"}}');
172172

173173
-- conditional create
174-
SELECT fhir_create_resource('{"ifNotExist": "identifier=007", "resource": {"resourceType": "Patient", "id": "smith", "name": [{"given": ["Smith"]}]}}');
174+
SELECT fhir_create_resource('{"ifNoneExist": "identifier=007", "resource": {"resourceType": "Patient", "id": "smith", "name": [{"given": ["Smith"]}]}}');
175175

176176
SELECT fhir_read_resource('{"resourceType": "Patient", "id": "smith"}');
177177

0 commit comments

Comments
 (0)