Skip to content

Commit c73098b

Browse files
authored
Merge pull request fhirbase#161 from vadi2/patch-5
Fix conditional create sample parameter
2 parents 08e0b15 + 3980420 commit c73098b

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)