-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Treat Instance type as wildcard when fishing FHIR dependencies
If the FHIRDefinitions fish functions are called specifying Type.Instance as a requested type, treat it like no types were passed in at all (i.e. wildcard type search) in order to search all types.
- Loading branch information
Showing
3 changed files
with
138 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
test/testhelpers/testdefs/r4-definitions/package/SearchParameter-individual-gender.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"resourceType": "SearchParameter", | ||
"id": "individual-gender", | ||
"extension": [ | ||
{ | ||
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", | ||
"valueCode": "trial-use" | ||
} | ||
], | ||
"url": "http://hl7.org/fhir/SearchParameter/individual-gender", | ||
"version": "4.0.1", | ||
"name": "gender", | ||
"status": "draft", | ||
"experimental": false, | ||
"date": "2019-11-01T09:29:23+11:00", | ||
"publisher": "Health Level Seven International (Patient Administration)", | ||
"contact": [ | ||
{ "telecom": [{ "system": "url", "value": "http://hl7.org/fhir" }] }, | ||
{ | ||
"telecom": [ | ||
{ "system": "url", "value": "http://www.hl7.org/Special/committees/pafm/index.cfm" } | ||
] | ||
} | ||
], | ||
"description": "Multiple Resources: \r\n\r\n* [Patient](patient.html): Gender of the patient\r\n* [Person](person.html): The gender of the person\r\n* [Practitioner](practitioner.html): Gender of the practitioner\r\n* [RelatedPerson](relatedperson.html): Gender of the related person\r\n", | ||
"code": "gender", | ||
"base": ["Patient", "Person", "Practitioner", "RelatedPerson"], | ||
"type": "token", | ||
"expression": "Patient.gender | Person.gender | Practitioner.gender | RelatedPerson.gender", | ||
"xpath": "f:Patient/f:gender | f:Person/f:gender | f:Practitioner/f:gender | f:RelatedPerson/f:gender", | ||
"xpathUsage": "normal" | ||
} |