Skip to content

Commit

Permalink
Merge pull request fhirbase#161 from vadi2/patch-5
Browse files Browse the repository at this point in the history
Fix conditional create sample parameter
  • Loading branch information
niquola authored Oct 7, 2016
2 parents 08e0b15 + 3980420 commit c73098b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ SELECT fhir_create_resource('{"resource": {"resourceType": "Patient", "name": [{
SELECT fhir_create_resource('{"allowId": true, "resource": {"resourceType": "Patient", "id": "smith"}}');

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

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

Expand Down

0 comments on commit c73098b

Please sign in to comment.