Skip to content

Commit

Permalink
explicit ordering in id and naming conventions
Browse files Browse the repository at this point in the history
  • Loading branch information
declankieran committed Jan 31, 2024
1 parent 0ab24e6 commit 923e5f9
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Alias: $DataOperation = http://terminology.hl7.org/CodeSystem/v3-DataOperation
Alias: $CareConnect-SDSJobRoleName-1 = https://fhir.hl7.org.uk/STU3/CodeSystem/CareConnect-SDSJobRoleName-1
Alias: $RARecord-AdjustmentCategory-1 = https://fhir.nhs.uk/STU3/CodeSystem/RARecord-AdjustmentCategory-1

Instance: add-condition-transaction-example-1
Instance: 0001-add-condition-transaction-example.1
InstanceOf: Bundle
Usage: #example
* type = #transaction
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Alias: $DataOperation = http://terminology.hl7.org/CodeSystem/v3-DataOperation
Alias: $CareConnect-SDSJobRoleName-1 = https://fhir.hl7.org.uk/STU3/CodeSystem/CareConnect-SDSJobRoleName-1
Alias: $RARecord-AdjustmentCategory-1 = https://fhir.nhs.uk/STU3/CodeSystem/RARecord-AdjustmentCategory-1

Instance: add-condition-transaction-example-2
Instance: 0002-add-condition-transaction-example.2
InstanceOf: Bundle
Usage: #example
* type = #transaction
Expand Down
2 changes: 1 addition & 1 deletion scripts/run-examples.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ SCRIPT_ROOT=$( cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P );
for EXAMPLE in ./input/fsh/examples/*; do

# Get the filename from the path
EXAMPLE=$(echo $EXAMPLE | awk -F '/' '{print $5}');
EXAMPLE=$(echo $EXAMPLE | awk -F '/' '{print $5}' | awk -F '.' '{print $1}');

# This relies on SUSHI having been ran to generate JSON representations of the resources.
GENERATED=$(echo ./fsh-generated/resources/*${EXAMPLE%.*}*);
Expand Down

0 comments on commit 923e5f9

Please sign in to comment.