@@ -11,7 +11,7 @@ describe("Multi-Profile Pattern", () => {
1111 describe ( "Body Weight Profile" , ( ) => {
1212 it ( "creates valid body weight observation" , ( ) => {
1313 const profile = new usWeightProfile ( createObservation ( ) ) ;
14- profile . setVscat ( { } ) ;
14+ profile . setVSCat ( { } ) ;
1515
1616 const resource = profile . toResource ( ) ;
1717 expect ( resource . resourceType ) . toBe ( "Observation" ) ;
@@ -21,17 +21,17 @@ describe("Multi-Profile Pattern", () => {
2121
2222 it ( "has getters for slices" , ( ) => {
2323 const profile = new usWeightProfile ( createObservation ( ) ) ;
24- profile . setVscat ( { } ) ;
24+ profile . setVSCat ( { } ) ;
2525
26- const vscat = profile . getVscat ( ) ;
26+ const vscat = profile . getVSCat ( ) ;
2727 expect ( vscat ) . toBeDefined ( ) ;
2828 } ) ;
2929 } ) ;
3030
3131 describe ( "Body Height Profile" , ( ) => {
3232 it ( "creates valid body height observation" , ( ) => {
3333 const profile = new usHeightProfile ( createObservation ( ) ) ;
34- profile . setVscat ( { } ) ;
34+ profile . setVSCat ( { } ) ;
3535
3636 const resource = profile . toResource ( ) ;
3737 expect ( resource . resourceType ) . toBe ( "Observation" ) ;
@@ -41,9 +41,9 @@ describe("Multi-Profile Pattern", () => {
4141
4242 it ( "has getters for slices" , ( ) => {
4343 const profile = new usHeightProfile ( createObservation ( ) ) ;
44- profile . setVscat ( { } ) ;
44+ profile . setVSCat ( { } ) ;
4545
46- const vscat = profile . getVscat ( ) ;
46+ const vscat = profile . getVSCat ( ) ;
4747 expect ( vscat ) . toBeDefined ( ) ;
4848 } ) ;
4949 } ) ;
@@ -59,7 +59,7 @@ describe("Multi-Profile Pattern", () => {
5959
6060 // Wrap with body weight profile
6161 const weightProfile = new usWeightProfile ( baseObservation ) ;
62- weightProfile . setVscat ( { } ) ;
62+ weightProfile . setVSCat ( { } ) ;
6363
6464 const resource = weightProfile . toResource ( ) ;
6565 expect ( resource . status ) . toBe ( "final" ) ;
@@ -70,14 +70,14 @@ describe("Multi-Profile Pattern", () => {
7070 it ( "creates separate weight and height observations" , ( ) => {
7171 // Create weight observation
7272 const weightProfile = new usWeightProfile ( createObservation ( ) ) ;
73- weightProfile . setVscat ( { } ) ;
73+ weightProfile . setVSCat ( { } ) ;
7474 const weightObs = weightProfile . toResource ( ) ;
7575 weightObs . code = { coding : [ { system : "http://loinc.org" , code : "29463-7" , display : "Body Weight" } ] } ;
7676 weightObs . valueQuantity = { value : 70 , unit : "kg" , system : "http://unitsofmeasure.org" , code : "kg" } ;
7777
7878 // Create height observation
7979 const heightProfile = new usHeightProfile ( createObservation ( ) ) ;
80- heightProfile . setVscat ( { } ) ;
80+ heightProfile . setVSCat ( { } ) ;
8181 const heightObs = heightProfile . toResource ( ) ;
8282 heightObs . code = { coding : [ { system : "http://loinc.org" , code : "8302-2" , display : "Body Height" } ] } ;
8383 heightObs . valueQuantity = { value : 175 , unit : "cm" , system : "http://unitsofmeasure.org" , code : "cm" } ;
0 commit comments